Skip to content

Commit

Permalink
Missing update of variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
stanguy committed Apr 4, 2012
1 parent 5670d4a commit da70700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/home/show.html.erb
Expand Up @@ -7,7 +7,7 @@
<% @line_data.each do |stop| %>
<li>
<% 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 %>
<h3><%= link_to stop[:name], stop[:schedule_url], stop_options %></h3>
<% if stop.has_key? :times %>
<% stop[:times].each do |trip| %>
Expand Down

0 comments on commit da70700

Please sign in to comment.