diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-19 09:37:42 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-19 15:37:42 +0200 |
commit | a8e1afc30a1f843943bb29e7385b8611ea3c29f4 (patch) | |
tree | c37ec1d7c086943da8bb126fde19f312d5efcad9 /app/controllers/api/v1/timelines_controller.rb | |
parent | bfbc2ca0d8dcef47f8581585b42f13b6b4c933d9 (diff) |
Simplify render in controllers (#2144)
Diffstat (limited to 'app/controllers/api/v1/timelines_controller.rb')
-rw-r--r-- | app/controllers/api/v1/timelines_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/api/v1/timelines_controller.rb b/app/controllers/api/v1/timelines_controller.rb index e55e7d718..27dc3d0ef 100644 --- a/app/controllers/api/v1/timelines_controller.rb +++ b/app/controllers/api/v1/timelines_controller.rb @@ -17,7 +17,7 @@ class Api::V1::TimelinesController < ApiController set_pagination_headers(next_path, prev_path) - render action: :index + render :index end def public @@ -31,7 +31,7 @@ class Api::V1::TimelinesController < ApiController set_pagination_headers(next_path, prev_path) - render action: :index + render :index end def tag @@ -46,7 +46,7 @@ class Api::V1::TimelinesController < ApiController set_pagination_headers(next_path, prev_path) - render action: :index + render :index end private |