Sha256: 68ddfbcd02fc396d69556f8d13f031aaf5d0cba0f54091b203eca3f9aaa4b3f5
Contents?: true
Size: 498 Bytes
Versions: 7
Compression:
Stored size: 498 Bytes
Contents
require 'clearance/extensions/errors' require 'clearance/extensions/rescue' require 'clearance/authentication' require 'clearance/user' class ActionController::Routing::RouteSet def load_routes_with_clearance! clearance_routes = File.join(File.dirname(__FILE__), *%w[.. config clearance_routes.rb]) add_configuration_file(clearance_routes) unless configuration_files.include? clearance_routes load_routes_without_clearance! end alias_method_chain :load_routes!, :clearance end
Version data entries
7 entries across 7 versions & 2 rubygems