Commit 67147db338e77b4bac311a07c75e5aa454a8943c

Authored by Antonio Terceiro
1 parent 6cad8f91

Added logged_in? to plugin context

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/noosfero/plugin/context.rb
... ... @@ -6,7 +6,7 @@ class Noosfero::Plugin::Context
6 6 @controller = controller
7 7 end
8 8  
9   - delegate :profile, :request, :response, :environment, :params, :session, :user, :to => :controller
  9 + delegate :profile, :request, :response, :environment, :params, :session, :user, :logged_in?, :to => :controller
10 10  
11 11 protected
12 12  
... ...