Prepared for rails 4.
This commit is contained in:
parent
b41907fafe
commit
fc679889a0
1 changed files with 3 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
||||||
Zammad::Application.routes.draw do
|
Zammad::Application.routes.draw do
|
||||||
|
|
||||||
# app init
|
# app init
|
||||||
match '/init', :to => 'init#index'
|
match '/init', :to => 'init#index', :via => :get
|
||||||
match '/app', :to => 'init#index'
|
match '/app', :to => 'init#index', :via => :get
|
||||||
|
|
||||||
# You can have the root of your site routed with "root"
|
# You can have the root of your site routed with "root"
|
||||||
# just remember to delete public/index.html.
|
# just remember to delete public/index.html.
|
||||||
root :to => 'init#index'
|
root :to => 'init#index', :via => :get
|
||||||
|
|
||||||
# load routes from external files
|
# load routes from external files
|
||||||
dir = File.expand_path('../', __FILE__)
|
dir = File.expand_path('../', __FILE__)
|
||||||
|
|
Loading…
Reference in a new issue