Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Fix admin link layout #148

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

z4ppy
Copy link

@z4ppy z4ppy commented Nov 14, 2019

No description provided.

Deface::Override.new(
virtual_path: 'spree/admin/shared/sub_menu/_configuration',
name: 'add_rich_editor_tab',
insert_bottom: '[data-hook="admin_configurations_sidebar_menu"]',
text: '<li<%== " class=\"active\"" if controller.controller_name == "editor_settings" %>><%= link_to Spree.t(:rich_editor), spree.edit_admin_editor_settings_path %></li>'
text: "<%= tab Spree::Page, url: spree.edit_admin_editor_settings_path, label: Spree.t(:rich_editor) %>"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.
Metrics/LineLength: Line is too long. [106/80]

@@ -1,6 +1,7 @@

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/FrozenStringLiteralComment: Missing magic comment # frozen_string_literal: true.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants