Commit 67147db338e77b4bac311a07c75e5aa454a8943c
1 parent
6cad8f91
Exists in
master
and in
29 other branches
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,7 +6,7 @@ class Noosfero::Plugin::Context | ||
| 6 | @controller = controller | 6 | @controller = controller |
| 7 | end | 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 | protected | 11 | protected |
| 12 | 12 |