From 3e9b604d1bdc9c3f1475a35c658d425a85d4a8c3 Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Wed, 12 Nov 2014 22:10:50 -0600 Subject: Give the test user access to refinerycms_blog extension. Fixes #392 --- lib/refinery/blog/engine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3