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-4.4.2 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.4.1 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.4.0 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.3.4 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.2.4 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.1.5 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.3.3 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.3.2 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.1.4 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.3.1 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.3.0 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.2.3 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.1.3 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.0.4 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.4.6 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.0.3 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.1.2 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.2.2 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.4.5 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.2.1 app/controllers/spree/admin/taxonomies_controller.rb