X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/45abfe49e1a27c302277e2f9f279cedf4f073439..4370fe45add697f481ab88764aba8379eb3316c2:/app/controllers/diary_entries_controller.rb diff --git a/app/controllers/diary_entries_controller.rb b/app/controllers/diary_entries_controller.rb index 27099cd9c..94876e72a 100644 --- a/app/controllers/diary_entries_controller.rb +++ b/app/controllers/diary_entries_controller.rb @@ -28,8 +28,8 @@ class DiaryEntriesController < ApplicationController end elsif params[:friends] if current_user - @title = t ".title_friends" - entries = DiaryEntry.where(:user => current_user.friends) + @title = t ".title_followed" + entries = DiaryEntry.where(:user => current_user.followings) else require_user return