Basic browser for audit logs added

This commit is contained in:
Christoph Haas 2021-03-03 01:05:29 +01:00
parent 1c2bfb87d3
commit d41220c5fd
4 changed files with 59 additions and 0 deletions

View file

@ -2,6 +2,12 @@
class MyController < ApplicationController
before_action :authenticate_user!
# Show audit logs
def logs
@logs = Log.paginate(page: params[:page], per_page: 6)
render :logs
end
# def profile
# end