Sha256: 132ba5604b921ef207d03e7f4be9d0dca396fad0c60d40d76244d17cbf9e5ed6

Contents?: true

Size: 280 Bytes

Versions: 20

Compression:

Stored size: 280 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 main_app.new_user_session_path
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
keppler-2.1.18 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.17 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.16 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.15 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.14 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.13 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.12 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.11 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.10 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.9 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.8 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.7 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.6 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.5 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.4 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.3 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.2 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.1 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1.pre.p1 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb
keppler-2.1 installer/core/rockets/keppler_capsules/app/controllers/keppler_capsules/application_controller.rb