From 1aff93be1d6fb7df4ef1a823ea67de6b2e117fe5 Mon Sep 17 00:00:00 2001 From: glacials Date: Wed, 29 Aug 2018 09:17:29 -0700 Subject: [PATCH] Fix Patreon linking 500ing at the last second --- app/controllers/patreon_users_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/patreon_users_controller.rb b/app/controllers/patreon_users_controller.rb index 0b117b84..552e2d2f 100644 --- a/app/controllers/patreon_users_controller.rb +++ b/app/controllers/patreon_users_controller.rb @@ -19,7 +19,7 @@ class PatreonUsersController < ApplicationController refresh_token: tokens['refresh_token'] ) - redirect_to(settings_path, res.present? ? success_msg : failure_msg) + redirect_to(settings_path, res.present? ? link_success_msg : link_failure_msg) end def unlink @@ -82,6 +82,6 @@ class PatreonUsersController < ApplicationController end def link_failure_msg - 'There was an issue connecting your Patreon account. Please try again.' + 'There was an issue connecting your Patreon account! Please try again.' end end -- knotmirror 0.0.1