Displaying 1 result from an estimated 1 matches for "however_convoluted".
2006 Apr 20
0
Custom path overriding - routes.rb
...my "item" table like:
id=1, title="Test", path="/test.html", content="some test content..."
id=2, title="Example", path="/another/example/", content="some
example content..."
id=3, title="Some more",
path="/however_convoluted/I/want/to/make_it.whatever", content="etc."
With the regular scaffolding and routes.rb setup, I can have paths
like /item/view/1, /item/view/2, etc., for these examples, but I also
want to be able to have the /test.html, /another/example/, etc.,
paths work.
I''d be happy...