2011-10-14 21:45:58 +01:00
|
|
|
# coding: UTF-8
|
|
|
|
class EventLogsController < ApplicationController
|
|
|
|
before_filter :authenticate_user!
|
2011-11-24 21:46:19 +00:00
|
|
|
load_and_authorize_resource
|
2011-10-14 21:45:58 +01:00
|
|
|
|
|
|
|
def index
|
|
|
|
@event_logs = EventLog.default_order.eager_loading.paginate :page => params[:page]
|
|
|
|
end
|
|
|
|
end
|