Skip to content

Commit

Permalink
Enable SSL
Browse files Browse the repository at this point in the history
  • Loading branch information
Winbobob committed Sep 1, 2015
1 parent 9e0b5cc commit c5e8a72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class ApplicationController < ActionController::Base

if Rails.env.production?
#forcing SSL only in the production mode
#force_ssl
force_ssl
end

helper_method :current_user_session, :current_user, :current_user_role?
Expand Down
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Application < Rails::Application
config.time_zone = 'UTC'

#setting the default ssl setting to false
#config.use_ssl = false
config.use_ssl = false

# Configure the default encoding used in templates for Ruby 1.9.
config.encoding = "utf-8"
Expand Down

0 comments on commit c5e8a72

Please sign in to comment.