tab/app/controllers/transactions_controller.rb
2015-09-08 17:30:13 +02:00

18 lines
276 B
Ruby

class TransactionsController < ApplicationController
def index
respond_to do |format|
format.html
format.json { render json: TransactionDatatable.new(view_context) }
end
end
def new
@transaction = Transaction.new
end
def create
end
end