diff options
| author | Xinhui | 2017-10-25 12:23:14 +0200 | 
|---|---|---|
| committer | Xinhui | 2017-10-25 12:23:14 +0200 | 
| commit | 118d1ae0c7ed66f408c5e260126ee553feda57a4 (patch) | |
| tree | 2a638dadab61a96b60b1f5702014457efcf0ada4 /app/controllers/access_links_controller.rb | |
| parent | a83fbdaab1c9a6c73badf3e25dcfab8701d555b5 (diff) | |
| download | chouette-core-118d1ae0c7ed66f408c5e260126ee553feda57a4.tar.bz2 | |
Remove method build_breadcrumb
Diffstat (limited to 'app/controllers/access_links_controller.rb')
| -rw-r--r-- | app/controllers/access_links_controller.rb | 16 | 
1 files changed, 4 insertions, 12 deletions
| diff --git a/app/controllers/access_links_controller.rb b/app/controllers/access_links_controller.rb index 6f1ad8bfd..936b8ea5e 100644 --- a/app/controllers/access_links_controller.rb +++ b/app/controllers/access_links_controller.rb @@ -21,9 +21,7 @@ class AccessLinksController < ChouetteController      @access_point = Chouette::AccessPoint.find(params[:access_point_id])      #@access_link = Chouette::AccessLink.find(params[:id])      @stop_area = @access_link.stop_area -    show! do |format| -      format.html {build_breadcrumb :show} -    end +    show!    end    def new @@ -41,9 +39,7 @@ class AccessLinksController < ChouetteController        data[:name] = name      end      @access_link = Chouette::AccessLink.new(data.permit!) -    new! do -      build_breadcrumb :new -    end +    new!    end    def create @@ -59,9 +55,7 @@ class AccessLinksController < ChouetteController      @access_link = Chouette::AccessLink.find(params[:id])      @stop_area = @access_link.stop_area      @orientation = @access_link.link_orientation_type -    edit! do -      build_breadcrumb :edit -    end +    edit!    end    def update @@ -69,9 +63,7 @@ class AccessLinksController < ChouetteController      @access_link = Chouette::AccessLink.find(params[:id])      @stop_area = @access_link.stop_area      @orientation = @access_link.link_orientation_type -    update! do |success, failure| -      build_breadcrumb :edit -    end +    update!    end    protected | 
