Skip to content

@ryanb /routes_1.rb
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
get "/about" => 'info#about', :as => 'about'
get "/privacy" => 'info#privacy', :as => 'privacy'
get "/license" => 'info#license', :as => 'license'
get "/mission" => 'info#mission', :as => 'mission'
get "/contact" => 'info#contact', :as => 'contact'
%w[about privacy license mission contact].each do |action|
get "/#{action}" => 'info#' + action, :as => action
end
InfoController.action_methods.each do |action|
get "/#{action}" => 'info#' + action, :as => action
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.