Commit e202466
Changed files (2)
app
controllers
app/controllers/concerns/authentication.rb → app/controllers/concerns/authenticatable.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-module Authentication
+module Authenticatable
extend ActiveSupport::Concern
included do
before_action :apply_current_request_details
app/controllers/application_controller.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
class ApplicationController < ActionController::Base
- include Authentication
+ include Authenticatable
protect_from_forgery with: :exception
add_flash_types :error, :warning