DynamoMTL/mercury-engine

View on GitHub
app/views/mercury_engine/shared/_edit_link.html.haml

Summary

Maintainability
Test Coverage
- if admin_user_signed_in?
  %nav#edit-page{ data: { 'save-url' => page_path(params[:path]) }}
    = link_to t(:edit), "/editor" + request.path