Sha256: 16d6d5f509e08d5dde3c2fa73e8866a23462a8ce09896d5adecfc48f3383986a

Contents?: true

Size: 273 Bytes

Versions: 8

Compression:

Stored size: 273 Bytes

Contents

# frozen_string_literal: true

class BadController < NoRequiresPluginController
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Discourse/Plugins/CallRequiresPlugin: Use `requires_plugin` in controllers to prevent routes from being accessible when plugin is disabled.
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rubocop-discourse-3.8.6 spec/fixtures/controllers/bad_controller.rb
rubocop-discourse-3.8.5 spec/fixtures/controllers/bad_controller.rb
rubocop-discourse-3.8.4 spec/fixtures/controllers/bad_controller.rb
rubocop-discourse-3.8.3 spec/fixtures/controllers/bad_controller.rb
rubocop-discourse-3.8.2 spec/fixtures/controllers/bad_controller.rb
rubocop-discourse-3.8.1 spec/fixtures/controllers/bad_controller.rb
rubocop-discourse-3.7.1 spec/fixtures/controllers/bad_controller.rb
rubocop-discourse-3.7.0 spec/fixtures/controllers/bad_controller.rb