Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 82cf5aefb2
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.477 kB
require 'userify/extensions/errors'
require 'userify/extensions/rescue'
require 'userify/authentication'
require 'userify/user'
class ActionController::Routing::RouteSet
def load_routes_with_userify!
userify_routes = File.join(File.dirname(__FILE__), *%w[.. config userify_routes.rb])
add_configuration_file(userify_routes) unless configuration_files.include? userify_routes
load_routes_without_userify!
end
alias_method_chain :load_routes!, :userify
end
Jump to Line
Something went wrong with that request. Please try again.