mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 06:26:15 +02:00
Fix repp logs controller
This commit is contained in:
parent
b2a1f49ba0
commit
6a8b50d72e
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
module Admin
|
||||
class ReppLogsController < BaseController
|
||||
load_and_authorize_resource class: ApiLog::ReppLog
|
||||
before_action :set_default_dates, only: [:index], if: -> { params[:q].to_i == current_user.id }
|
||||
before_action :set_default_dates, only: [:index]
|
||||
|
||||
# rubocop:disable Metrics/MethodLength
|
||||
def index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue