Restful route helpers using '.' instead of '/' in path

Posted by dchua on Stack Overflow See other posts from Stack Overflow or by dchua
Published on 2010-06-12T06:47:37Z Indexed on 2010/06/12 6:52 UTC
Read the original article Hit count: 215

Filed under:
|
|

My path helpers (like data_path, users_path) are now translating itself to use '.' instead of '/'.

For example, data_path(@data) translates to:

data.%23<datareport:0x7fcaba0c2970>

instead of '/data/id'.

My routes look like:

  map.resources :data

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about restful