Mercurial > rsstweet
comparison app/controllers/tweets_controller.rb @ 205:8190fa511e35
Fix some code style
author | nanaya <me@nanaya.pro> |
---|---|
date | Mon, 19 Oct 2020 04:09:12 +0900 |
parents | af84c9f23263 |
children | f9fd9d9cab97 |
comparison
equal
deleted
inserted
replaced
204:70e90ea4b870 | 205:8190fa511e35 |
---|---|
26 rescue Twitter::Error::Unauthorized | 26 rescue Twitter::Error::Unauthorized |
27 head :forbidden | 27 head :forbidden |
28 end | 28 end |
29 | 29 |
30 private | 30 private |
31 | |
31 def normalized_screen_name | 32 def normalized_screen_name |
32 @user.screen_name.presence || '_' | 33 @user.screen_name.presence || '_' |
33 end | 34 end |
34 end | 35 end |