Module: Bootsy::ApplicationHelper
- Defined in:
- app/helpers/bootsy/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#resource_or_nil(resource) ⇒ Object
3 4 5 |
# File 'app/helpers/bootsy/application_helper.rb', line 3 def resource_or_nil(resource) resource if resource.present? && resource.persisted? end |