Remove redirect loop for koelkast
This commit is contained in:
parent
ffda2a4b26
commit
62075f9cb1
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
class OrdersController < ApplicationController
|
class OrdersController < ApplicationController
|
||||||
load_resource :user
|
load_resource :user
|
||||||
load_and_authorize_resource :order, through: :user
|
load_and_authorize_resource :order, through: :user, shallow: true
|
||||||
|
|
||||||
def new
|
def new
|
||||||
@products = Product.all.for_sale.order(:name)
|
@products = Product.all.for_sale.order(:name)
|
||||||
|
|
|
@ -16,7 +16,7 @@ development:
|
||||||
omniauth_client_secret: blargh
|
omniauth_client_secret: blargh
|
||||||
access_token: "token"
|
access_token: "token"
|
||||||
tab_api_key: "HriaktSIhRaB5CJzD71uLQ=="
|
tab_api_key: "HriaktSIhRaB5CJzD71uLQ=="
|
||||||
koelkast_token: ""
|
koelkast_token: "token"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
secret_key_base: 961437e28e7d6055ffaad9cf1f8d614354f57f10cb2d7601c9d6ede72a03b9c9535ad9e63507e3eb31252c4895970a63117493408f2e9a46c7a0c4a5a7836b81
|
secret_key_base: 961437e28e7d6055ffaad9cf1f8d614354f57f10cb2d7601c9d6ede72a03b9c9535ad9e63507e3eb31252c4895970a63117493408f2e9a46c7a0c4a5a7836b81
|
||||||
|
|
Loading…
Reference in a new issue