From 512bd54222b156d7ba98c37bb7b93a1abcc50fa0 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Thu, 16 Jan 2014 18:23:09 +0000 Subject: [PATCH] features-paths: add profile path --- features/support/paths.rb | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/features/support/paths.rb b/features/support/paths.rb index 12fb4c2..34bc165 100644 --- a/features/support/paths.rb +++ b/features/support/paths.rb @@ -20,6 +20,9 @@ module NavigationHelpers when /^\// page_name + when /^(.*)'s profile/ + '/profile/' + profile_identifier($1) + when /article "([^"]+)"\s*$/ url_for(Article.find_by_name($1).url.merge({:only_path => true})) -- libgit2 0.21.2