REPP logs view

This commit is contained in:
Martin Lensment 2015-01-13 16:25:59 +02:00
parent b10815810d
commit 24a016cf48
9 changed files with 104 additions and 1 deletions

View file

@ -0,0 +1,11 @@
class Admin::ReppLogsController < ApplicationController
load_and_authorize_resource class: ApiLog::ReppLog
def index
@repp_logs = ApiLog::ReppLog.order(id: :desc).page(params[:page])
end
def show
@repp_log = ApiLog::ReppLog.find(params[:id])
end
end