1 2 3 4 5 6 7
class Explore::GroupsController < Explore::ApplicationController include GroupTree def index render_group_tree GroupsFinder.new(current_user).execute end end