mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-16 05:29:58 +01:00
removing unnecessary return values
This commit is contained in:
parent
e1d38ebb89
commit
68526bfc4e
1 changed files with 0 additions and 4 deletions
|
@ -18,8 +18,6 @@ class InboxController < ApplicationController
|
||||||
.count
|
.count
|
||||||
if @inbox_author.empty?
|
if @inbox_author.empty?
|
||||||
flash.now[:info] = "No questions from @#{params[:author]} found, showing default entries instead!"
|
flash.now[:info] = "No questions from @#{params[:author]} found, showing default entries instead!"
|
||||||
@inbox
|
|
||||||
@inbox_count
|
|
||||||
else
|
else
|
||||||
@inbox = @inbox_author
|
@inbox = @inbox_author
|
||||||
@inbox_count = @inbox_author_count
|
@inbox_count = @inbox_author_count
|
||||||
|
@ -27,8 +25,6 @@ class InboxController < ApplicationController
|
||||||
rescue
|
rescue
|
||||||
flash.now[:error] = "No user with the name @#{params[:author]} found, showing default entries instead!"
|
flash.now[:error] = "No user with the name @#{params[:author]} found, showing default entries instead!"
|
||||||
@not_found = true
|
@not_found = true
|
||||||
@inbox
|
|
||||||
@inbox_count
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue