aboutsummaryrefslogtreecommitdiffstats
path: root/lib/refinery
diff options
context:
space:
mode:
authorPhilip Arndt <git@arndt.io>2014-11-12 22:10:50 -0600
committerPhilip Arndt <git@arndt.io>2014-11-12 22:10:50 -0600
commit3e9b604d1bdc9c3f1475a35c658d425a85d4a8c3 (patch)
treefa04a8b8c35045f9028b7eda088a8b28658d1c15 /lib/refinery
parent8a5bf4f80b93627cc777313d6a6091f1110999c7 (diff)
downloadrefinerycms-blog-3e9b604d1bdc9c3f1475a35c658d425a85d4a8c3.tar.gz
refinerycms-blog-3e9b604d1bdc9c3f1475a35c658d425a85d4a8c3.tar.bz2
refinerycms-blog-3e9b604d1bdc9c3f1475a35c658d425a85d4a8c3.zip
Give the test user access to refinerycms_blog extension.
Fixes #392
Diffstat (limited to 'lib/refinery')
-rw-r--r--lib/refinery/blog/engine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/refinery/blog/engine.rb b/lib/refinery/blog/engine.rb
index 95952d0..7b29466 100644
--- a/lib/refinery/blog/engine.rb
+++ b/lib/refinery/blog/engine.rb
@@ -10,7 +10,7 @@ module Refinery
plugin.pathname = root
plugin.name = "refinerycms_blog"
plugin.url = proc { Refinery::Core::Engine.routes.url_helpers.blog_admin_posts_path }
- plugin.menu_match = /refinery\/blog\/?(posts|comments|categories)?/
+ plugin.menu_match = %r{refinery/blog/?(posts|comments|categories)?}
end
end