diff options
| author | Guillaume | 2017-11-28 17:34:01 +0100 | 
|---|---|---|
| committer | Guillaume | 2017-11-28 17:34:01 +0100 | 
| commit | 82f52c76f407d4f18699b4d4f0cc1c01275ca719 (patch) | |
| tree | 92a608a33ef61b6ffbdad6ec55e1827945c7f817 /app/controllers/stop_areas_controller.rb | |
| parent | 9a8ddef8dbfec3ac656b0980a1614b8720e6a950 (diff) | |
| download | chouette-core-82f52c76f407d4f18699b4d4f0cc1c01275ca719.tar.bz2 | |
Refs #4824, #4825 fix wrong translate in lines, network, stop_area, enumerize for source_type_name, comments map display in stop_area form
Diffstat (limited to 'app/controllers/stop_areas_controller.rb')
| -rw-r--r-- | app/controllers/stop_areas_controller.rb | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/app/controllers/stop_areas_controller.rb b/app/controllers/stop_areas_controller.rb index 1d6f88068..0357878ec 100644 --- a/app/controllers/stop_areas_controller.rb +++ b/app/controllers/stop_areas_controller.rb @@ -64,22 +64,22 @@ class StopAreasController < InheritedResources::Base    def new      authorize resource_class -    @map = StopAreaMap.new( Chouette::StopArea.new).with_helpers(self) -    @map.editable = true +    # @map = StopAreaMap.new( Chouette::StopArea.new).with_helpers(self) +    # @map.editable = true      new!    end    def create      authorize resource_class -    @map = StopAreaMap.new( Chouette::StopArea.new).with_helpers(self) -    @map.editable = true +    # @map = StopAreaMap.new( Chouette::StopArea.new).with_helpers(self) +    # @map.editable = true      create!    end    def show -    map.editable = false -    @access_points = @stop_area.access_points +    # map.editable = false +    # @access_points = @stop_area.access_points      show! do |format|        unless stop_area.position or params[:default] or params[:routing]          format.kml { | 
