Sha256: 5af97d479013b7b9d18ad7824a77391231c244a5025c87c79c7357b914747b4b
Contents?: true
Size: 254 Bytes
Versions: 1
Compression:
Stored size: 254 Bytes
Contents
# frozen_string_literal: true module Sail class ApplicationController < ActionController::Base # :nodoc: protect_from_forgery with: :exception protected def current_user main_app.scope.request.env["warden"]&.user end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sail-3.2.1 | app/controllers/sail/application_controller.rb |