Sha256: 7b9dfa8e1650be6377dde8a95e343651c9717c4626b35e6b9f42673cfa0b20ed

Contents?: true

Size: 442 Bytes

Versions: 23

Compression:

Stored size: 442 Bytes

Contents

module TypeStation
  class AdminController < ::TypeStation::ApplicationController
    protect_from_forgery with: :null_session

    before_filter :type_station_authenticate!
    before_filter :type_station_authorise!

    private

    def type_station_authenticate!
      instance_eval &TypeStation.config.authenticate_with
    end

    def type_station_authorise!
      instance_eval &TypeStation.config.authorise_with
    end
    
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
type_station-0.5.4 app/controllers/type_station/admin_controller.rb
type_station-0.5.3 app/controllers/type_station/admin_controller.rb
type_station-0.5.2 app/controllers/type_station/admin_controller.rb
type_station-0.5.1 app/controllers/type_station/admin_controller.rb
type_station-0.4.7 app/controllers/type_station/admin_controller.rb
type_station-0.4.6 app/controllers/type_station/admin_controller.rb
type_station-0.4.5 app/controllers/type_station/admin_controller.rb
type_station-0.4.4 app/controllers/type_station/admin_controller.rb
type_station-0.4.3 app/controllers/type_station/admin_controller.rb
type_station-0.4.2 app/controllers/type_station/admin_controller.rb
type_station-0.4.1 app/controllers/type_station/admin_controller.rb
type_station-0.4.0 app/controllers/type_station/admin_controller.rb
type_station-0.3.4 app/controllers/type_station/admin_controller.rb
type_station-0.3.3 app/controllers/type_station/admin_controller.rb
type_station-0.3.2 app/controllers/type_station/admin_controller.rb
type_station-0.3.1 app/controllers/type_station/admin_controller.rb
type_station-0.3.0 app/controllers/type_station/admin_controller.rb
type_station-0.2.3 app/controllers/type_station/admin_controller.rb
type_station-0.2.2 app/controllers/type_station/admin_controller.rb
type_station-0.2.1 app/controllers/type_station/admin_controller.rb