Skip to content

Commit

Permalink
Don't need first slash in plugin menu match regexp.
Browse files Browse the repository at this point in the history
  • Loading branch information
ugisozols committed May 15, 2012
1 parent 54f2ef7 commit 160b581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/refinery/inquiries/engine.rb
Expand Up @@ -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',
Expand Down

0 comments on commit 160b581

Please sign in to comment.