Skip to content

Commit

Permalink
Fixed on showing 'no environments' message instead of hiding tab in u…
Browse files Browse the repository at this point in the history
…ser details
  • Loading branch information
parthaa committed Jan 11, 2012
1 parent 8009274 commit d8caa04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/navigation/administration.rb
Expand Up @@ -22,7 +22,7 @@ def user_navigation
{ :key => :environment,
:name =>N_("Environments"),
:url => lambda{edit_environment_user_path(@user.id)},
:if => lambda {@user && current_organization()},
:if => lambda {@user},
:options => {:class=>"navigation_element"}
},
{ :key => :roles,
Expand Down

0 comments on commit d8caa04

Please sign in to comment.