From da70700aed1233b351fd7a74305d4cbb97642a20 Mon Sep 17 00:00:00 2001 From: Sebastien Tanguy Date: Wed, 4 Apr 2012 20:43:07 +0200 Subject: [PATCH] Missing update of variable name --- app/views/home/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/home/show.html.erb b/app/views/home/show.html.erb index 611e7f6..5bdfd33 100644 --- a/app/views/home/show.html.erb +++ b/app/views/home/show.html.erb @@ -7,7 +7,7 @@ <% @line_data.each do |stop| %>
  • <% stop_options = { 'data-id' => stop[:id], 'data-lat' => stop[:lat], 'data-lon' => stop[:lon], 'data-others' => stop[:others].join(','), 'data-accessible' => stop[:accessible] } - stop_options['data-selected'] = 1 if stop[:id] == @selected_stop %> + stop_options['data-selected'] = 1 if stop[:id] == @selected_stop_id %>

    <%= link_to stop[:name], stop[:schedule_url], stop_options %>

    <% if stop.has_key? :times %> <% stop[:times].each do |trip| %>