Browse Source

Fixed logging in on translator pages

development
Godwin 9 years ago
parent
commit
2f5b1ea161
  1. 4
      app/controllers/application_controller.rb

4
app/controllers/application_controller.rb

@ -27,6 +27,10 @@ class ApplicationController < LinguaFrancaApplicationController
ActionMailer::Base.default_url_options = {:host => "#{request.protocol}#{request.host_with_port}"} ActionMailer::Base.default_url_options = {:host => "#{request.protocol}#{request.host_with_port}"}
if request.post? && params[:action] == 'do_confirm'
halt_redirection!
end
# call the base method to detect the language # call the base method to detect the language
super super
end end

Loading…
Cancel
Save