Basic browser for audit logs added
This commit is contained in:
parent
1c2bfb87d3
commit
d41220c5fd
4 changed files with 59 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue