I have a route that looks like this:
get '/sell/:ticker', to: 'sell#new', as: 'sell'
That does what I want, which is allows
get requests to
I have another route,
resources :stocks that I would also like to be able to specify for it to use
/:ticker, rather than
/:id in all the routes.
Is there some way for me to modify the
resources helper to use
\:ticker rather than
\:id, without having to write every route individually?