Fix some CC issues

This commit is contained in:
Karl Erik Õunapuu 2021-01-28 11:35:35 +02:00
parent 0d2cb6b7f2
commit 7c35083a8b
No known key found for this signature in database
GPG key ID: C9DD647298A34764
8 changed files with 48 additions and 30 deletions

View file

@ -1,6 +1,6 @@
module Repp
module V1
class BaseController < ActionController::API
class BaseController < ActionController::API # rubocop:disable Metrics/ClassLength
rescue_from ActiveRecord::RecordNotFound, with: :not_found_error
before_action :authenticate_user
before_action :validate_webclient_ca