Sha256: 685b1707ab736be0b6d77cc374273a0d923d56c960661f6308ac6e03a9947551

Contents?: true

Size: 310 Bytes

Versions: 196

Compression:

Stored size: 310 Bytes

Contents

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

196 entries across 196 versions & 2 rubygems

Version Path
spree_backend-4.0.3 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-3.7.9 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-4.0.2 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-3.7.8 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-4.0.1 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-3.7.7 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-4.0.0 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-4.0.0.rc3 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-3.7.6 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-3.7.5 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-4.0.0.rc2 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-4.0.0.rc1 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-4.0.0.beta app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.5.2 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-3.7.4 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-3.7.3 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-3.7.2 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-3.7.1 app/controllers/spree/admin/taxonomies_controller.rb
solidus_backend-2.5.1 app/controllers/spree/admin/taxonomies_controller.rb
spree_backend-3.7.0 app/controllers/spree/admin/taxonomies_controller.rb