Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
International::Application.routes.draw do
scope '(:locale)' do
match 'locations/' => 'locations#index', :as => :locations, :via => [:get]
match "locations" => 'locations#create', :via => [:post]
match 'locations/new' => 'locations#new', :as => :new_location
match 'locations/:id/edit' => 'locations#edit', :as => :edit_location
match "locations/(:id)" => 'locations#show', :as => :location, :via => [:get]
match "locations/(:id)" => 'locations#update', :via => [:put]
match "locations/(:id)" => 'locations#destroy', :via => [:delete]
root :to => 'locations#index'
end
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.