|
@ -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 |
|
|
|
|
|
|
|
|