aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/refinery/blog/engine.rb2
-rw-r--r--spec/lib/refinery/blog/engine_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/refinery/blog/engine.rb b/lib/refinery/blog/engine.rb
index 46ebea1..aa8ffe4 100644
--- a/lib/refinery/blog/engine.rb
+++ b/lib/refinery/blog/engine.rb
@@ -19,7 +19,7 @@ module Refinery
# Without this line, the route fragment generated by the Refinery's
# activity dashboard would be refinery_blog_admin_blog_posts_path,
# which does not exist.
- :url => "refinery_admin_blog_posts_path"
+ :url => "refinery_admin_blog_post_path"
}
end
end
diff --git a/spec/lib/refinery/blog/engine_spec.rb b/spec/lib/refinery/blog/engine_spec.rb
index 1c44da7..eae2c3c 100644
--- a/spec/lib/refinery/blog/engine_spec.rb
+++ b/spec/lib/refinery/blog/engine_spec.rb
@@ -9,7 +9,7 @@ module Refinery
end
it "sets the correct path for activity entries" do
- activity.url.should eq("edit_refinery_admin_blog_posts_path")
+ activity.url.should eq("edit_refinery_admin_blog_post_path")
end
end