Logs controller added
This commit is contained in:
parent
9ad5a05914
commit
230f5ec213
9 changed files with 66 additions and 0 deletions
7
app/controllers/logs_controller.rb
Normal file
7
app/controllers/logs_controller.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
class LogsController < ApplicationController
|
||||
before_action :authenticate_user!
|
||||
|
||||
def index
|
||||
@logs = Log.paginate(page: params[:page], per_page: 20)
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue