Skip to content

Commit

Permalink
Fix error handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Oct 20, 2009
1 parent ffcefe1 commit 222e30e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/permissions_controller.rb
Expand Up @@ -61,10 +61,10 @@ def subscribe
end
rescue
flash[:error] = _("Something went wrong. Please try again.")
go_back
go_back and return
end
flash[:notice] = _("Your subscription has been saved.")
go_back
go_back and return
end

protected
Expand Down

0 comments on commit 222e30e

Please sign in to comment.