aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2012-01-08 16:30:41 -0800
committerPete Higgins <pete@peterhiggins.org>2012-01-08 16:30:41 -0800
commitbecdbfaa9b15a17e3a4e68beb2f9b5fa8617e1af (patch)
tree9f0a5e4fbbee2266d793fbf31dede499ce529e6b
parent63b0bec5ff625738ce0072f41fd05439dcd08d0e (diff)
downloadrefinerycms-blog-becdbfaa9b15a17e3a4e68beb2f9b5fa8617e1af.tar.gz
refinerycms-blog-becdbfaa9b15a17e3a4e68beb2f9b5fa8617e1af.tar.bz2
refinerycms-blog-becdbfaa9b15a17e3a4e68beb2f9b5fa8617e1af.zip
Fix typo in activity route.
-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