app/views/admin/locators/show.html.slim in ab_admin-0.2.3 vs app/views/admin/locators/show.html.slim in ab_admin-0.3.0
- old
+ new
@@ -6,9 +6,9 @@
- locale_regexp = Regexp.new(I18n.available_locales.join('|'))
- @files.each do |path|
- filename = File.basename(path)
tr class=cycle('odd', 'even')
td= filename[locale_regexp]
- td= link_to filename, edit_admin_locators_path(:filename => filename)
+ td= link_to filename, edit_admin_locators_path(filename: filename)
-=' link_to t('admin.locators.prepare'), prepare_admin_locators_path, :class => 'btn btn-warning', :method => :post
-=' link_to t('admin.locators.restart'), reload_admin_locators_path, :class => 'btn btn-primary', :method => :post
+=' link_to t('admin.locators.prepare'), prepare_admin_locators_path, class: 'btn btn-warning', method: :post
+=' link_to t('admin.locators.restart'), reload_admin_locators_path, class: 'btn btn-primary', method: :post
\ No newline at end of file