sausage-sandwich/ruby_sandwich

View on GitHub
apps/web/controllers/authentication.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Web
  module Controllers
    module Authentication
      include Infrastructure::Authentication

      def self.included(action)
        action.class_eval do
          expose :current_user
        end
      end
    end
  end
end