Class: Motor::Dashboard

Inherits:
ApplicationRecord show all
Defined in:
app/models/motor/dashboard.rb

Instance Method Summary collapse

Methods inherited from ApplicationRecord

audited

Instance Method Details

#queriesObject



17
18
19
# File 'app/models/motor/dashboard.rb', line 17

def queries
  Motor::Query.where(id: preferences[:layout].pluck(:query_id))
end