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

@ -29,13 +29,13 @@ class Users::OmniauthCallbacksController < ApplicationController
respond_to do |format|
format.html
format.json { render :json => @data }
format.json { render json: @data }
end
end
def failure
flash[:error] = I18n.t("login.omniauth_error", strategy: params[:strategy].titleize)
render :layout => 'no_js'
render layout: 'no_js'
end
def create_or_sign_on_user_using_twitter(auth_token)