Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Corrigido o path

  • Loading branch information...
commit 8e2045fe108ce5fa0e64d18f6ccec27281aba8ef 1 parent e8ca21e
Rafael Mendonça França authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 features/support/paths.rb
4 features/support/paths.rb
@@ -12,8 +12,8 @@ def path_to(page_name)
12 12 '/'
13 13 when /the new article page/
14 14 new_article_path
15   - when /^no artigo "^([^\"]*)"/
16   - article_path(Article.find_by_slug($1))
  15 + when /^no artigo "([^\"]*)"/
  16 + article_path(Article.find($1))
17 17
18 18 # Add more mappings here.
19 19 # Here is an example that pulls values out of the Regexp:

0 comments on commit 8e2045f

Please sign in to comment.
Something went wrong with that request. Please try again.