Files
codeocean/app/controllers/rails_admin_controller.rb
2023-02-21 11:35:29 +01:00

9 lines
343 B
Ruby

# frozen_string_literal: true
class RailsAdminController < ApplicationController
# RailsAdmin does not include translations. Therefore, we fallback to English locales
skip_around_action :switch_locale
# We check for permissions in the RailsAdmin config. Therefore, we skip Pundit checks here.
skip_after_action :verify_authorized
end