Simplify render in controllers (#2144)

This commit is contained in:
Matt Jankowski
2017-04-19 09:37:42 -04:00
committed by Eugen
parent bfbc2ca0d8
commit a8e1afc30a
9 changed files with 27 additions and 27 deletions

View File

@@ -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