Sha256: 4265e220202f98a62461844b36bf10b1a5360228e4bb000f800b6ba769e6954d

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

class SpreeSevenHooks < Spree::ThemeSupport::HookListener
  insert_after :admin_configurations_menu do
    %(<tr><td><%= link_to t("sms_manage"), admin_sms_path %></td>
      <td><%= t("sms_manage_desc") %></td></tr>)
  end
  insert_after :admin_configurations_sidebar_menu do
    %(<li<%= raw(' class="active"') if controller.controller_name == 'sms_manage' %>><%= link_to t("sms_manage"), admin_sms_path %></li>)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_seven-0.0.1 lib/spree_seven_hooks.rb