Mercurial > rsstweet
diff app/controllers/tweets_controller.rb @ 260:e2150dce4e90
Rubocop (rails) time
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 15 Dec 2024 22:59:09 +0900 |
parents | 4222343d9433 |
children |
line wrap: on
line diff
--- a/app/controllers/tweets_controller.rb Sun Dec 15 22:55:34 2024 +0900 +++ b/app/controllers/tweets_controller.rb Sun Dec 15 22:59:09 2024 +0900 @@ -1,6 +1,6 @@ class TweetsController < ApplicationController def index - return redirect if params[:name].present? + redirect if params[:name].present? end def show @@ -38,6 +38,6 @@ private def normalized_screen_name - @user[:username].presence || '_' + @user[:username].presence || "_" end end