aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2012-01-08 16:50:50 -0800
committerPhilip Arndt <parndt@gmail.com>2012-01-08 16:50:50 -0800
commitd642260538825c48d0f236ca1dd645947a090549 (patch)
tree9f0a5e4fbbee2266d793fbf31dede499ce529e6b
parentbbc6e909396f994baed90a9e8f1641eb0cab86f2 (diff)
parentbecdbfaa9b15a17e3a4e68beb2f9b5fa8617e1af (diff)
downloadrefinerycms-blog-d642260538825c48d0f236ca1dd645947a090549.tar.gz
refinerycms-blog-d642260538825c48d0f236ca1dd645947a090549.tar.bz2
refinerycms-blog-d642260538825c48d0f236ca1dd645947a090549.zip
Merge pull request #172 from substantial/fix_for_activity_fix
Fix for activity fix
-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