-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathroutes.rb
33 lines (31 loc) · 861 Bytes
/
routes.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
LandInfo::Application.routes.draw do
devise_for :users
resources :drawings do as_routes end
resources :features do as_routes end
resources :land_districts do as_routes end
resources :locations do
as_routes
get :autocomplete_location_name, :on => :collection
end
resources :marine_files do as_routes end
resources :plan_files do
collection do
get 'new_version'
get 'latest'
end
as_routes
end
resources :provinces do as_routes end
resources :regions do as_routes end
resources :survey_files do
as_routes
get :autocomplete_survey_file_survey_file, :on => :collection
collection do
get 'new_version'
end
end
resources :surveyors do as_routes end
root :to => "survey_files#index"
match 'francais', :to => "application#francais"
match 'help', :to => "application#help"
end