help: url/path for existing resources eg /toolbox

9 views
Skip to first unread message

tom

unread,
Jan 3, 2017, 4:31:54 PM1/3/17
to Ruby on Rails: Talk
hi,
i have  a few working resources, eg 'projects' & tasks. now i would like to prefix that with/under a path so that the url looks like that:


how can i do that without moving everything into subfolders etc...


thx


Greg Navis

unread,
Jan 4, 2017, 4:11:12 AM1/4/17
to rubyonra...@googlegroups.com
I'm not sure what's the precise effect you want to achieve. If you want to have the whole app served from under domain.com/toolbox then you may take a look at Deploy to a subdirectory. If you would like to add a prefix to a few specific resources then you should take a look at Prefixing the Named Route Helpers.
Reply all
Reply to author
Forward
0 new messages