Sha256: a5fbd377093f115619b5e8d0d0861a82289c1799a78feaf4f527c1c795eabae2

Contents?: true

Size: 257 Bytes

Versions: 11

Compression:

Stored size: 257 Bytes

Contents

module Effective
  class MentorshipGroupsController < ApplicationController
    before_action(:authenticate_user!) if defined?(Devise)

    include Effective::CrudController

    resource_scope -> { EffectiveMentorships.MentorshipGroup.deep.all }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
effective_mentorships-0.3.4 app/controllers/effective/mentorship_groups_controller.rb
effective_mentorships-0.3.3 app/controllers/effective/mentorship_groups_controller.rb
effective_mentorships-0.3.2 app/controllers/effective/mentorship_groups_controller.rb
effective_mentorships-0.3.1 app/controllers/effective/mentorship_groups_controller.rb
effective_mentorships-0.3.0 app/controllers/effective/mentorship_groups_controller.rb
effective_mentorships-0.2.4 app/controllers/effective/mentorship_groups_controller.rb
effective_mentorships-0.2.3 app/controllers/effective/mentorship_groups_controller.rb
effective_mentorships-0.2.2 app/controllers/effective/mentorship_groups_controller.rb
effective_mentorships-0.2.1 app/controllers/effective/mentorship_groups_controller.rb
effective_mentorships-0.2.0 app/controllers/effective/mentorship_groups_controller.rb
effective_mentorships-0.1.0 app/controllers/effective/mentorship_groups_controller.rb