mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
REPP logs view
This commit is contained in:
parent
b10815810d
commit
24a016cf48
9 changed files with 104 additions and 1 deletions
11
app/controllers/admin/repp_logs_controller.rb
Normal file
11
app/controllers/admin/repp_logs_controller.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class Admin::ReppLogsController < ApplicationController
|
||||
load_and_authorize_resource class: ApiLog::ReppLog
|
||||
|
||||
def index
|
||||
@repp_logs = ApiLog::ReppLog.order(id: :desc).page(params[:page])
|
||||
end
|
||||
|
||||
def show
|
||||
@repp_log = ApiLog::ReppLog.find(params[:id])
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue