Sha256: 7bc6cbdd80236080b865bfe59eca7c6445b0bf54809e91f5570cd192add6ae2f
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
require "devise_users/engine" module DeviseUsers mattr_reader :devise_resource_name @@devise_resource_name = 'user' def self.devise_resource_name=(resource_name) @@devise_resource_name = resource_name.to_s.singularize end mattr_reader :unauthorisation_url @@unauthorisation_url = '/' def self.setup yield self end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_users-0.0.1 | lib/devise_users.rb |