diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-07-27 17:28:09 +0300 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-07-27 17:28:09 +0300 |
commit | 06071e558008477e1b8dbb376d6693af97eeff32 (patch) | |
tree | 0ed1e765b37975fbbd054b058a45712ee7464c73 /features/support/paths.rb | |
parent | 3fa8937b95a4d90000ad1be9c588424052136455 (diff) | |
download | refinerycms-blog-06071e558008477e1b8dbb376d6693af97eeff32.tar.gz refinerycms-blog-06071e558008477e1b8dbb376d6693af97eeff32.tar.bz2 refinerycms-blog-06071e558008477e1b8dbb376d6693af97eeff32.zip |
Wip.
Diffstat (limited to 'features/support/paths.rb')
-rw-r--r-- | features/support/paths.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/support/paths.rb b/features/support/paths.rb index dbd04dd..1fdf9f8 100644 --- a/features/support/paths.rb +++ b/features/support/paths.rb @@ -4,9 +4,9 @@ module NavigationHelpers def path_to(page_name) case page_name when /the list of blog posts/ - admin_blog_posts_path + refinery_admin_blog_posts_path when /the new blog posts? form/ - new_admin_blog_post_path + new_refinery_admin_blog_post_path else begin if page_name =~ /the blog post titled "?([^\"]*)"?/ and (page = BlogPost.find_by_title($1)).present? |