Refactor routes in order to be compatible with Rails 4

This commit is contained in:
Stephan Kaag
2013-07-01 20:00:06 +02:00
parent d13166fa17
commit e39cc464b1
8 changed files with 16 additions and 16 deletions

View File

@ -61,7 +61,7 @@ class ApplicationController < ActionController::Base
rescue_from Discourse::NotLoggedIn do |e|
raise e if Rails.env.test?
redirect_to root_path
redirect_to "/"
end
rescue_from Discourse::NotFound do