Change generated code to replace faulty comment
This commit is contained in:
parent
e311622e7b
commit
ecf84b239f
@ -7,4 +7,4 @@ Rails.application.config.session_store :cookie_store, {
|
||||
# Use the database for sessions instead of the cookie-based default,
|
||||
# which shouldn't be used to store highly confidential information
|
||||
# (create the session table with "rake db:sessions:create")
|
||||
# Rails.application.config.action_dispatch.session_store = :active_record_store
|
||||
# Rails.application.config.session_store :active_record_store
|
||||
|
@ -12,7 +12,7 @@ def setup
|
||||
add_to_config <<-RUBY
|
||||
config.root = "#{app_path}"
|
||||
config.after_initialize do |app|
|
||||
app.config.action_dispatch.session_store = nil
|
||||
app.config.session_store nil
|
||||
end
|
||||
RUBY
|
||||
use_frameworks [:action_controller, :action_view, :action_mailer, :active_record]
|
||||
|
Loading…
Reference in New Issue
Block a user