提交 ecf84b23 编写于 作者: C Carlhuda

Change generated code to replace faulty comment

上级 e311622e
......@@ -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]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册