tab/app/controllers/transactions_controller.rb

18 lines
276 B
Ruby
Raw Normal View History

2015-09-08 15:25:54 +02:00
class TransactionsController < ApplicationController
def index
2015-09-08 17:30:13 +02:00
respond_to do |format|
format.html
format.json { render json: TransactionDatatable.new(view_context) }
end
2015-09-08 15:25:54 +02:00
end
def new
@transaction = Transaction.new
end
def create
end
end