7 lines
164 B
Ruby
7 lines
164 B
Ruby
class LogsController < ApplicationController
|
|
before_action :authenticate_user!
|
|
|
|
def index
|
|
@logs = Log.paginate(page: params[:page], per_page: 20)
|
|
end
|
|
end
|