Sha256: 139595f064fbe118a785b06f734e230431766b7981e99b803abc9232e19243f3
Contents?: true
Size: 535 Bytes
Versions: 20
Compression:
Stored size: 535 Bytes
Contents
- presenter.actions_for_record.each do |key, action| - if action.show(record) - if action.remote? = render action.partial, :path => action.path(presenter, :id => record.id), :name => action.name, :params => action.params, :label => t("#{presenter.model_name}.#{action.name}", default: t("carnival.#{action.name}")) - else = render action.partial, :path => action.path(presenter, :id => record.id), :name => action.name,:label => t("#{presenter.model_name}.#{action.name}", default: t("carnival.#{action.name}"))
Version data entries
20 entries across 20 versions & 1 rubygems