I have such route file question · GitHub
In view I want to create path /user/subscriptions/9 with
link_to('Select', user_subscriptions_path(package), :method
=> :put, :class => 'upgrade'), but instead I'm getting /user/
subscriptions.9, can someone point what I'm doing wrong here?
user_subscriptions_path is such a rest way.
You can put "resources :user_subscriptions" into your route file then
you can use the helper method "user_subscriptions_path".