Class: Auth::EndpointsController

Inherits:
ApplicationController show all
Includes:
Concerns::DeviseConcern
Defined in:
app/controllers/auth/endpoints_controller.rb

Constant Summary collapse

CONDITIONS_FOR_TOKEN_AUTH =
[:create,:update,:destroy,:edit,:new,:index]
TCONDITIONS =
{:only => CONDITIONS_FOR_TOKEN_AUTH}

Instance Method Summary collapse

Methods inherited from ApplicationController

#authenticate_resource!, #check_for_create, #check_for_destroy, #check_for_update, #from_bson, #from_view, #not_found

Instance Method Details

#createObject



11
12
13
# File 'app/controllers/auth/endpoints_controller.rb', line 11

def create
	
end

#permitted_paramsObject



15
16
17
# File 'app/controllers/auth/endpoints_controller.rb', line 15

def permitted_params
	params.require(:endpoint).permit(:android_token,:ios_token)
end