Method: BMC::ButtonHelper#new_button
- Defined in:
- app/helpers/bmc/button_helper.rb
#new_button(url = url_for(action: :new), **options) ⇒ Object
61 62 63 64 65 66 67 68 69 |
# File 'app/helpers/bmc/button_helper.rb', line 61 def (url = url_for(action: :new), **) = { :icon => :plus, :action => :new, :btn_style => :success, }.merge() (url, **) end |