app/views/application/edit.html.haml in five-two-nw-olivander-0.1.2.43 vs app/views/application/edit.html.haml in five-two-nw-olivander-0.1.2.44
- old
+ new
@@ -1,7 +1,7 @@
- resource = (@_effective_resource || Effective::Resource.new(controller_path))
- @resource = instance_variable_get('@' + resource.name) if resource.name
- if @resource
.row
- .col-12
+ .col-12{ data: { controller: [controller.class.name.gsub('Controller', '').underscore.dasherize.gsub('/', '--'), action_name].join('-') } }
= render_resource_form(@resource)