Module: SmartManaging::ApplicationHelper
- Defined in:
- app/helpers/smart_managing/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#colspan ⇒ Object
6 7 8 |
# File 'app/helpers/smart_managing/application_helper.rb', line 6 def colspan number_of_attributes + 1 end |
#new_item_path ⇒ Object
14 15 16 |
# File 'app/helpers/smart_managing/application_helper.rb', line 14 def new_item_path new_polymorphic_path(klass) end |