Browse Source

Might fix redirect issue

development
Godwin 11 years ago
parent
commit
c747c488d0
  1. 6
      app/controllers/application_controller.rb

6
app/controllers/application_controller.rb

@ -8,9 +8,9 @@ class ApplicationController < ActionController::Base
# For APIs, you may want to use :null_session instead. # For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception protect_from_forgery with: :exception
if ENV['RAILS_ENV'] || 'production' #if ENV['RAILS_ENV'] || 'production'
force_ssl only: :success # force_ssl only: :success
end #end
before_filter :capture_page_info before_filter :capture_page_info

Loading…
Cancel
Save