This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%customizable_form_for @test, :permissions => @current_user do |f|%> | |
| <%=f.arrangeble_fields do%> | |
| <%f.text_field :name%> | |
| <%f.text_field :number%> | |
| <%f.check_box :active%> | |
| <%end%> | |
| <%=field_set_tag "Custom Fields" do%> | |
| <%=f.custom_fields :custom%> | |
| <%end%> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Gl::TransactionsController < ApplicationController | |
| def new | |
| end | |
| def create | |
| teller = Gl::TellerService.new() | |
| response = teller.transfer_funds(params) | |
| if response.successful? | |
| @transactions = response.data | |
| respond_with @transactions |
NewerOlder