Sha256: d7969b0e30b3a001fd44447a877223a4188d88b15e02d2f72a593ff7ff698e4e

Contents?: true

Size: 465 Bytes

Versions: 12

Compression:

Stored size: 465 Bytes

Contents

# frozen_string_literal: true
require_dependency "think_feel_do_engine/application_controller"

module ThinkFeelDoEngine
  module Coach
    # Manages the Group dashboard for Coaches.
    class GroupDashboardController < ApplicationController
      before_action :authenticate_user!, :set_group

      def index
        authorize! :show, @group
      end

      private

      def set_group
        @group = Group.find(params[:group_id])
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 app/controllers/think_feel_do_engine/coach/group_dashboard_controller.rb
think_feel_do_engine-3.22.8 app/controllers/think_feel_do_engine/coach/group_dashboard_controller.rb
think_feel_do_engine-3.22.7 app/controllers/think_feel_do_engine/coach/group_dashboard_controller.rb
think_feel_do_engine-3.22.6 app/controllers/think_feel_do_engine/coach/group_dashboard_controller.rb
think_feel_do_engine-3.22.5 app/controllers/think_feel_do_engine/coach/group_dashboard_controller.rb
think_feel_do_engine-3.22.4 app/controllers/think_feel_do_engine/coach/group_dashboard_controller.rb
think_feel_do_engine-3.22.2 app/controllers/think_feel_do_engine/coach/group_dashboard_controller.rb
think_feel_do_engine-3.22.1 app/controllers/think_feel_do_engine/coach/group_dashboard_controller.rb
think_feel_do_engine-3.22.0 app/controllers/think_feel_do_engine/coach/group_dashboard_controller.rb
think_feel_do_engine-3.21.2 app/controllers/think_feel_do_engine/coach/group_dashboard_controller.rb
think_feel_do_engine-3.21.1 app/controllers/think_feel_do_engine/coach/group_dashboard_controller.rb
think_feel_do_engine-3.21.0 app/controllers/think_feel_do_engine/coach/group_dashboard_controller.rb