Sha256: d18200dc55c0e8a473a09558e22b1a3e17eb7a41a957deccdc1ecb1793b006f2

Contents?: true

Size: 274 Bytes

Versions: 4

Compression:

Stored size: 274 Bytes

Contents

module KepplerCapsules
  class ApplicationController < ::ApplicationController
    protect_from_forgery with: :exception
    before_action :user_signed_in?   

    def user_signed_in?
      return if current_user
      redirect_to redirect_to '/alert/403'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
keppler-2.1.22 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.21 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.20 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.19 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb