diff --git a/.rubocop.yml b/.rubocop.yml index 1eea04c..b6a4609 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -22,6 +22,13 @@ Style/ClassAndModuleChildren: Style/FrozenStringLiteralComment: Enabled: false +Rails/InverseOf: + Enabled: false +Rails/HasManyOrHasOneDependent: + Enabled: false +Rails/HelperInstanceVariable: + Enabled: false + # disable for now Layout/LineLength: Enabled: false diff --git a/app/controllers/datasets_controller.rb b/app/controllers/datasets_controller.rb index 489f62c..4047a40 100644 --- a/app/controllers/datasets_controller.rb +++ b/app/controllers/datasets_controller.rb @@ -1,7 +1,6 @@ class DatasetsController < HandleOptionsController before_action :set_headers, only: %i[sampledata] before_action :default_format_json, only: %i[sampledata] - before_action :authorize, only: %i[new edit create update destroy] def sampledata @datasets = Dataset.includes(:dataset_items).all