Remove obsolete json
This commit is contained in:
parent
f3669117a2
commit
9292dd807f
2 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ class WelcomeController < ApplicationController
|
|||
skip_before_filter :verify_authenticity_token, only: :token_sign_in
|
||||
|
||||
def index
|
||||
sign_in User.find_by(name: "tleilaxu")
|
||||
end
|
||||
|
||||
def token_sign_in
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
%p.center
|
||||
%b or
|
||||
-#%button.btn.btn-default.product{ data: { product: @user.dagschotel} }
|
||||
= link_to quickpay_user_path(@user), data: { quickpay: true, type: "json" }, id: "dagschotel_quickpay", class: "btn btn-default btn-block" do
|
||||
= link_to quickpay_user_path(@user), id: "dagschotel_quickpay", class: "btn btn-default btn-block" do
|
||||
%p.center Order dagschotel
|
||||
= image_tag @user.dagschotel.avatar, title: "Huidige dagschotel"
|
||||
= render 'errors', object: @user
|
||||
|
|
Loading…
Reference in a new issue