From bbcb766e28d5b831dd92c46d0b67610b6abc50af Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 29 May 2013 18:03:59 +0200 Subject: [PATCH] Prepared for rails 4. --- config/routes.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index b4e6d3154..c22f52dc3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,12 +1,12 @@ Zammad::Application.routes.draw do # app init - match '/init', :to => 'init#index' - match '/app', :to => 'init#index' + match '/init', :to => 'init#index', :via => :get + match '/app', :to => 'init#index', :via => :get # You can have the root of your site routed with "root" # just remember to delete public/index.html. - root :to => 'init#index' + root :to => 'init#index', :via => :get # load routes from external files dir = File.expand_path('../', __FILE__)