lib/admin_assistant.rb in admin_assistant-2.1.1 vs lib/admin_assistant.rb in admin_assistant-2.2.0
- old
+ new
@@ -13,10 +13,11 @@
files.each do |file|
require "#{File.dirname(__FILE__)}/admin_assistant/#{file}"
end
class AdminAssistant
- cattr_accessor :request_start_time, :routes
+ cattr_accessor :default_inputs, :request_start_time, :routes
+ self.default_inputs = {}
self.routes = []
def self.profile(msg)
if self.request_start_time
Rails.logger.info "#{msg}: #{Time.now - self.request_start_time}"