Sha256: cb354b0a72789a83762a570f945b4f0d8dd9763f3432798f6e157564060293e2

Contents?: true

Size: 288 Bytes

Versions: 12

Compression:

Stored size: 288 Bytes

Contents

class ArticlesController < ApplicationController
  include Godmin::Resources::ResourceController

  private

  def redirect_after_batch_action_publish
    articles_path(scope: :published)
  end

  def redirect_after_batch_action_unpublish
    articles_path(scope: :unpublished)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
godmin-2.3.0 test/dummy/app/controllers/articles_controller.rb
godmin-2.2.2 test/dummy/app/controllers/articles_controller.rb
godmin-2.2.1 test/dummy/app/controllers/articles_controller.rb
godmin-2.2.0 test/dummy/app/controllers/articles_controller.rb
godmin-2.1.0 test/dummy/app/controllers/articles_controller.rb
godmin-2.0.0 test/dummy/app/controllers/articles_controller.rb
godmin-1.5.0 test/dummy/app/controllers/articles_controller.rb
godmin-1.4.0 test/dummy/app/controllers/articles_controller.rb
godmin-1.3.1 test/dummy/app/controllers/articles_controller.rb
godmin-1.3.0 test/dummy/app/controllers/articles_controller.rb
godmin-1.2.0 test/dummy/app/controllers/articles_controller.rb
godmin-1.1.0 test/dummy/app/controllers/articles_controller.rb