Use consistent new-style hashes in render calls *twitch*

This commit is contained in:
Sarah Vessels
2013-03-22 14:08:11 -04:00
parent 3d4fb43c73
commit 54c7b1ab63
9 changed files with 27 additions and 27 deletions

View File

@ -2,7 +2,7 @@ class UserActionsController < ApplicationController
def index
requires_parameters(:user_id)
per_chunk = 60
render :json => UserAction.stream(
render json: UserAction.stream(
user_id: params[:user_id].to_i,
offset: params[:offset],
limit: per_chunk,
@ -14,7 +14,7 @@ class UserActionsController < ApplicationController
def show
requires_parameters(:id)
render :json => UserAction.stream_item(params[:id], guardian)
render json: UserAction.stream_item(params[:id], guardian)
end
def private_messages