From fa3b51194065d29800b3f76fe70d845affab38d9 Mon Sep 17 00:00:00 2001 From: redfast00 Date: Sun, 4 Aug 2019 13:46:35 +0200 Subject: [PATCH] Fix quickpay by making the user order their order instead of koelkast --- app/controllers/users_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 189106b..cf700c8 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -22,6 +22,7 @@ class UsersController < ApplicationController load_and_authorize_resource + skip_before_action :set_user!, only: [:quickpay] def show respond_to do |format|