lib/generators/dailycred_generator.rb in dailycred-0.1.0 vs lib/generators/dailycred_generator.rb in dailycred-0.1.1

- old
+ new

@@ -11,11 +11,11 @@ match "/logout" => "sessions#destroy", :as => :logout match "/auth" => "sessions#info", :as => :auth EOS APP_CONTROLLER_LINES =<<-EOS - helper_method :current_user, :login_path, :dailycred + helper_method :current_user, :login_path, :dailycred, :signup_path private def current_user begin @@ -31,11 +31,11 @@ def signup_path "/auth/dailycred" end - def signin_path - "/auth/dailycred?action=signup" + def login_path + "/auth/dailycred?action=signin" end def dailycred config = Rails.configuration @dailycred ||= Dailycred.new(config.DAILYCRED_CLIENT_ID, config.DAILYCRED_SECRET_KEY)