Permalink
Browse files

Don't need first slash in plugin menu match regexp.

  • Loading branch information...
ugisozols committed May 15, 2012
1 parent 54f2ef7 commit 160b581ec76866f152cd12219c0ab08f955f16af
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/refinery/inquiries/engine.rb
@@ -10,7 +10,7 @@ class Engine < Rails::Engine
plugin.pathname = root
plugin.name = "refinerycms_inquiries"
plugin.url = proc { Refinery::Core::Engine.routes.url_helpers.inquiries_admin_inquiries_path }
- plugin.menu_match = %r{/refinery/inquiries(/.+?)?$}
+ plugin.menu_match = %r{refinery/inquiries(/.+?)?$}
plugin.activity = {
:class_name => :'refinery/inquiries/inquiry',
:title => 'name',

2 comments on commit 160b581

This fixes #85

Owner

parndt replied May 15, 2012

boom

Please sign in to comment.