Fixed logging in on translator pages

This commit is contained in:
Godwin 2015-08-26 22:01:31 -07:00
parent 3b531cebd6
commit 2f5b1ea161

View File

@ -27,6 +27,10 @@ class ApplicationController < LinguaFrancaApplicationController
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
super
end