Class: Blazer::Dashboard
- Defined in:
- app/models/blazer/dashboard.rb
Instance Method Summary collapse
Instance Method Details
#to_param ⇒ Object
13 14 15 |
# File 'app/models/blazer/dashboard.rb', line 13 def to_param [id, name.gsub("'", "").parameterize].join("-") end |
#variables ⇒ Object
9 10 11 |
# File 'app/models/blazer/dashboard.rb', line 9 def variables queries.flat_map { |q| q.variables }.uniq end |