Module: Wallaby::ApplicationHelper
- Includes:
- Configurable, ConfigurationHelper, Engineable, Urlable
- Included in:
- ResourcesHelper
- Defined in:
- lib/helpers/wallaby/application_helper.rb
Overview
Wallaby application helper
Instance Method Summary collapse
-
#form_for(record, options = {}, &block) ⇒ Object
Override original #form_for method to provide default form builder.
-
#wt(key, options = {}) ⇒ String
I18n transaltion just for Wallaby.
Methods included from Urlable
#edit_path, #index_path, #new_path, #show_path, #url_for
Methods included from Engineable
#current_engine, #current_engine_name, #current_engine_route, #script_name
Methods included from Configurable
Methods included from ConfigurationHelper
#configuration, #default_metadata, #features, #mapping, #models, #pagination, #security, #sorting
Instance Method Details
#form_for(record, options = {}, &block) ⇒ Object
Override original #form_for method to provide default form builder
14 15 16 17 |
# File 'lib/helpers/wallaby/application_helper.rb', line 14 def form_for(record, = {}, &block) [:builder] ||= FormBuilder super end |