diff options
| author | Luc Donnet | 2014-12-02 11:47:49 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2014-12-02 11:47:49 +0100 | 
| commit | 228c5a383eff1c6175a97a8ed446d6777b9310c8 (patch) | |
| tree | 742766cde2cac2d495d1e7995d64646269eb22d6 /app/helpers | |
| parent | c5379f821a7f280f296f0b0dd0180aa57ce6b9c8 (diff) | |
| download | chouette-core-228c5a383eff1c6175a97a8ed446d6777b9310c8.tar.bz2 | |
Fix autocomplete stop areas in one line Refs #0030224
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/application_helper.rb | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index bb8cf84e4..88ff3fecf 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,5 +1,9 @@  module ApplicationHelper - +   +  def stop_area_picture_url(stop_area) +    image_path("map/#{stop_area.area_type.underscore}.png") +  end +      def selected_referential?      @referential.present? and not @referential.new_record?    end  | 
