Joined May 2011
·

Josh Cheek

Software Craftsman at 8th Light
·
Chicago, IL
·
·
·

Posted to Find the right routes in rails over 1 year ago

Or write them like: get '/path/:to/whatever', 'controllers#action', as: 'whatevah_path'

Another nice thing about it, the whatevah_path part does not change when you cange the path itself.

Achievements
189 Karma
0 Total ProTip Views