Remove obsolete json

This commit is contained in:
tl3ilaxu 2016-03-03 22:30:23 +01:00
parent f3669117a2
commit 9292dd807f
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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