lib/generators/adauth/sessions/sessions_generator.rb in adauth-1.2.1 vs lib/generators/adauth/sessions/sessions_generator.rb in adauth-2.0.0pre

- old
+ new

@@ -1,10 +1,9 @@ module Adauth module Generators - # Generates the sessions controller - class SessionsGenerator < Rails::Generators::Base + class SessionsGenerator < ::Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) argument :model_name, :type => :string, :default => "user" # Generates the sessions controller # @@ -26,6 +25,6 @@ puts " @current_user ||= User.find(session[:user_id]) if session[:user_id]" puts " end" end end end -end +end \ No newline at end of file