Class: Dashboard::V2::Group::ReviewsGrid
- Inherits:
-
ReviewsGrid
- Object
- ApplicationGrid
- ReviewsGrid
- Dashboard::V2::Group::ReviewsGrid
- Defined in:
- app/grids/dashboard/v2/group/reviews_grid.rb
Overview
typed: ignore frozen_string_literal: true
Instance Attribute Summary collapse
-
#current_group ⇒ Object
Returns the value of attribute current_group.
Instance Method Summary collapse
Instance Attribute Details
#current_group ⇒ Object
Returns the value of attribute current_group.
4 5 6 |
# File 'app/grids/dashboard/v2/group/reviews_grid.rb', line 4 def current_group @current_group end |
Instance Method Details
#branches ⇒ Object
14 15 16 |
# File 'app/grids/dashboard/v2/group/reviews_grid.rb', line 14 def branches current_group.restaurants.map { |r| [r.name, r.id] } end |