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