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-2.11.13 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.0.4 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.1.4 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.11.12 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.0.3 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.1.3 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.1.2 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.1.1 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.1.0 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.11.11 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.0.2 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.10.5 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.11.10 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.0.1 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.0.0 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.11.9 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.11.8 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.11.7 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.11.6 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-3.0.0.rc2 app/controllers/spree/admin/taxonomies_controller.rb