Skip to content

Commit

Permalink
removing duplicated code: this is already in ControllerHelpers::Auth
Browse files Browse the repository at this point in the history
fixes #275
  • Loading branch information
alexandremcosta authored and Jeff Dutil committed May 11, 2015
1 parent bd6619f commit e3f2c08
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/controllers/frontend/spree/user_sessions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,4 @@ def create
def accurate_title
Spree.t(:login)
end

def redirect_back_or_default(default)
redirect_to(session["spree_user_return_to"] || default)
session["spree_user_return_to"] = nil
end
end

0 comments on commit e3f2c08

Please sign in to comment.