Sha256: aa2880ad779f27f0d010877f08cdcc78b2b0cd654883c888189b081dc7524ac0
Contents?: true
Size: 467 Bytes
Versions: 14
Compression:
Stored size: 467 Bytes
Contents
module Capcoauth class Engine < Rails::Engine initializer 'capcoauth.params.filter' do |app| parameters = %w'code access_token' app.config.filter_parameters << /^(#{Regexp.union parameters})$/ end initializer 'capcoauth.routes' do Capcoauth::Rails::Routes.install! end initializer 'capcoauth.helpers' do ActiveSupport.on_load(:action_controller) do include Capcoauth::Rails::Helpers end end end end
Version data entries
14 entries across 14 versions & 1 rubygems