Modify the way Friends are added
This commit is contained in:
parent
1732325768
commit
2b7a48029b
14 changed files with 77 additions and 77 deletions
|
@ -28,7 +28,7 @@ class DiaryEntriesController < ApplicationController
|
|||
end
|
||||
elsif params[:friends]
|
||||
if current_user
|
||||
@title = t ".title_friends"
|
||||
@title = t ".title_followed"
|
||||
entries = DiaryEntry.where(:user => current_user.friends)
|
||||
else
|
||||
require_user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue