Permalink
Browse files

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

  • Loading branch information...
1 parent 356b883 commit 0d01ad51af63de97e594faafe0e5c527cf3bfe4f @ugisozols ugisozols committed May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/refinery/inquiries/engine.rb
View
2 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',

0 comments on commit 0d01ad5

Please sign in to comment.