Class: Kube::Station::GroupsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/kube/station/groups_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#default_url_options

Instance Method Details

#indexObject



6
7
8
# File 'app/controllers/kube/station/groups_controller.rb', line 6

def index
  @groups = fetch_api_resources.map { |r| r[:group].presence || "core" }.uniq.sort
end