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.2.0 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.1.1 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.0.2 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.4.4 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.3.4 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.2.9 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.2.8 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.3.3 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.4.3 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.0.1 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.1.0 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-4.0.0 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.4.2 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.2.7 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.3.2 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.4.1 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.4.0 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.3.1 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.2.6 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.1.9 app/controllers/spree/admin/taxonomies_controller.rb