Logs controller added

This commit is contained in:
Christoph Haas 2016-08-23 19:01:01 +02:00
parent 9ad5a05914
commit 230f5ec213
9 changed files with 66 additions and 0 deletions

View 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