Refresh , the other guys are correct to replace all the links that you would change the name of the resources and the corresponding controller in routes.rb! My answer is only useful for specifying a specific route.
Yup, you will do this in yours routes.rb, using the option :asto specify
Example:
match 'exit' => 'sessions#destroy', :as => :logout
source
source
share