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