mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-04 06:51:48 +01:00
fix cucumber stories including test for i18n
This commit is contained in:
parent
601736de2d
commit
8109391f89
6 changed files with 796 additions and 731 deletions
|
|
@ -7,9 +7,9 @@ module NavigationHelpers
|
|||
#
|
||||
def path_to(page_name)
|
||||
options = @mobile_interface ? {:format => :m} : {}
|
||||
options.merge({:locale => @locale}) unless @locale.blank?
|
||||
puts "@@@ l=#{@locale} sv = #{@source_view}- #{options}"
|
||||
options = {:locale => @locale}.merge(options) if @locale
|
||||
@source_view = nil
|
||||
|
||||
case page_name
|
||||
|
||||
when /the home\s?page/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue