fix indentation

This commit is contained in:
pixeldesu 2015-07-17 21:59:16 +02:00
parent 68526bfc4e
commit 0044430fa6
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ class InboxController < ApplicationController
@author = true
@target_user = User.find_by_screen_name params[:author]
@inbox_author = current_user.inboxes.joins(:question)
.where(questions: { user_id: @target_user.id, author_is_anonymous: false })
.paginate(page: params[:page])
.where(questions: { user_id: @target_user.id, author_is_anonymous: false })
.paginate(page: params[:page])
@inbox_author_count = current_user.inboxes.joins(:question)
.where(questions: { user_id: @target_user.id, author_is_anonymous: false })
.count