Sha256: 78adc25913d7f82cb842094ddf9d42d9704ba5487a6f8c0e38b2804dc0969a2d
Contents?: true
Size: 409 Bytes
Versions: 1
Compression:
Stored size: 409 Bytes
Contents
module Authlogic class SessionGenerator < Rails::Generators::NamedBase desc "Description:\n Creates a session model for use with Authlogic" def self.source_root @_auth_source ||= File.expand_path("../templates", __FILE__) end def copy_initializer class_collisions class_name template 'session.rb', File.join('app/models', class_path, "#{file_name}.rb") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wulffeld_authlogic-2.1.3 | lib/generators/authlogic/session/session_generator.rb |