Sha256: e340191e9e75fcdd1df04ded828b872cdae4cc4b8e77ec18f82a5433e324709a
Contents?: true
Size: 299 Bytes
Versions: 6
Compression:
Stored size: 299 Bytes
Contents
para do if authorized?(:edit, Pageflow::Entry) span(link_to(I18n.t("admin.entries.editor"), pageflow.edit_entry_path(entry), :class => 'button')) end if entry.published? span(link_to(I18n.t("admin.entries.show_public"), pageflow.short_entry_path(entry), :class => 'button')) end end
Version data entries
6 entries across 6 versions & 1 rubygems