Commit a0b41878e819dfb9e754ff377c0932807891a242

Authored by MoisesMachado
1 parent 54abaf3e

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 26 end
27 27 end
28 28  
  29 + protected
  30 +
29 31 def logon
30 32 redirect_to :controller => 'account' unless logged_in?
31 33 end
... ...