Commit a0b41878e819dfb9e754ff377c0932807891a242
1 parent
54abaf3e
Exists in
master
and in
22 other branches
ActionItem6: made the logon method protected
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@191 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/controllers/enterprise_controller.rb
| @@ -26,6 +26,8 @@ class EnterpriseController < ApplicationController | @@ -26,6 +26,8 @@ class EnterpriseController < ApplicationController | ||
| 26 | end | 26 | end |
| 27 | end | 27 | end |
| 28 | 28 | ||
| 29 | + protected | ||
| 30 | + | ||
| 29 | def logon | 31 | def logon |
| 30 | redirect_to :controller => 'account' unless logged_in? | 32 | redirect_to :controller => 'account' unless logged_in? |
| 31 | end | 33 | end |