app/views/alchemy/custom/model/admin/base/show.html.erb in alchemy-custom-model-2.1.2 vs app/views/alchemy/custom/model/admin/base/show.html.erb in alchemy-custom-model-2.2.0
- old
+ new
@@ -1,12 +1,12 @@
<%
buttons = []
buttons << {
icon: "angle-double-left ",
- label: acm_t(:title_action, action: t(:index, scope: :actions), model: base_class.model_name.human),
+ label: acm_t(:title_action, action: acm_t(:index, scope: :actions), model: base_class.model_name.human),
url: polymorphic_path(url_namespace),
- title: acm_t(:title_action, action: t(:index, scope: :actions), model: base_class.model_name.human),
+ title: acm_t(:title_action, action: acm_t(:index, scope: :actions), model: base_class.model_name.human),
hotkey: 'alt+b',
dialog: false,
if_permitted_to: [:index, @obj.class]
}