fixed errors on album/photo pages
This commit is contained in:
parent
f4b3a2eb3a
commit
90ce31173a
1 changed files with 1 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ class ApplicationController < ActionController::Base
|
|||
|
||||
def set_friends_and_status
|
||||
if current_user
|
||||
@group = :all
|
||||
@groups = current_user.groups
|
||||
@friends = current_user.friends
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue