app/views/bhf/entries/form/belongs_to/_static.haml in bhf-0.1.6 vs app/views/bhf/entries/form/belongs_to/_static.haml in bhf-0.2.0
- old
+ new
@@ -2,8 +2,8 @@
- ref_object = f.object.send(field.reflection.name)
- if ref_object.blank?
= t 'bhf.helpers.entry.empty'
- else
- if field.link
- = link_to ref_object.to_bhf_s, edit_entry_path(field.link, ref_object), :class => 'quick_edit'
+ = link_to ref_object.to_bhf_s, edit_bhf_entry_path(field.link, ref_object), :class => 'quick_edit'
- else
= ref_object.to_bhf_s
\ No newline at end of file