app/helpers/voluntary/show_helper.rb in voluntary-0.2.2 vs app/helpers/voluntary/show_helper.rb in voluntary-0.2.3
- old
+ new
@@ -51,14 +51,14 @@
else
''
end
end
- def show_actions
+ def show_actions(options = {})
result = content_tag :dt, raw(' ')
result += content_tag :dd, render(
partial: 'shared/resource/actions', locals: {
- type: root_model_class_name(resource).tableize, resource: resource
+ type: root_model_class_name(resource).tableize, resource: resource, namespace: options[:namespace]
}
)
raw result
end
\ No newline at end of file