Skip to content

Commit

Permalink
fix spacing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Aug 25, 2008
1 parent 11c705f commit 56a0878
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions generators/authenticated/templates/model_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ def create
# button. Uncomment if you understand the tradeoffs.
# reset session
self.current_<%= file_name %> = @<%= file_name %> # !! now logged in
<% end -%>
redirect_back_or_default('/')
<% end -%>redirect_back_or_default('/')
flash[:notice] = "Thanks for signing up! We're sending you an email with your activation code."
else
flash[:error] = "We couldn't set up that account, sorry. Please try again, or contact an admin (link is above)."
Expand Down

0 comments on commit 56a0878

Please sign in to comment.