Skip to content

Instantly share code, notes, and snippets.

class Api::Mobile::V1::GroupsController < Api::Mobile::V1::ApplicationApiController
acts_as_token_authentication_handler_for User
before_action :check_user_house_access
before_action :check_group_id, only: [:accept, :leave, :join]
before_action :check_user_group_access, only: [:accept, :leave]
#Todo: invite friends to group