Open-Source-Access-Control-.../app/controllers/mac_logs_controller.rb
2014-02-09 00:56:48 -07:00

10 lines
177 B
Ruby
Executable File

class MacLogsController < ApplicationController
load_and_authorize_resource :mac_log
before_filter :authenticate_user!
def index
@mac_logs = MacLog.desc.limit(1000)
end
end