Sha256: 5582bb65cec573079c0981499d09027757a3ce4559670906a22edab7efa3ef89

Contents?: true

Size: 341 Bytes

Versions: 132

Compression:

Stored size: 341 Bytes

Contents

# frozen_string_literal: true

module Spree
  module Admin
    class TaxonomiesController < ResourceController
      private

      def location_after_save
        if @taxonomy.created_at == @taxonomy.updated_at
          edit_admin_taxonomy_url(@taxonomy)
        else
          admin_taxonomies_url
        end
      end
    end
  end
end

Version data entries

132 entries across 132 versions & 2 rubygems

Version Path
solidus_backend-3.3.0 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.2.5 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.2.4 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.2.3 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.1.8 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.0.8 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.2.2 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.2.1 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.2.0 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.2.0.alpha app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.0.7 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.11.17 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.1.7 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.11.16 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.0.6 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.1.6 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.11.15 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.11.14 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.0.5 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.1.5 app/controllers/spree/admin/taxonomies_controller.rb