initial commit
This commit is contained in:
13
app/controllers/application_controller.rb
Normal file
13
app/controllers/application_controller.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class ApplicationController < ActionController::Base
|
||||
# Database: You can store session data in your application's database. This
|
||||
# requires additional setup, but it can be useful if you need to store large
|
||||
# amounts of data or want to share session data between multiple web servers.
|
||||
#
|
||||
# To configure the session storage option, you can edit your Rails application's
|
||||
# config/application.rb file.
|
||||
# For example, to use the database for session
|
||||
# storage, you can add the following line:
|
||||
config.session_store :active_record_store
|
||||
end
|
||||
Reference in New Issue
Block a user