Sha256: 81ea6aa06a4d27e3ad01a037315bfc73875fdf18323aa65a72dabcb30aa8a3b6
Contents?: true
Size: 630 Bytes
Versions: 17
Compression:
Stored size: 630 Bytes
Contents
class Auth::Shopping::PersonalitiesController < Auth::Shopping::ShoppingController include Auth::Concerns::Shopping::PersonalityControllerConcern ## only these actions need an authenticated user to be present for them to be executed. CONDITIONS_FOR_TOKEN_AUTH = [:create,:update,:destroy,:edit,:new,:index,:show,:create_multiple] TCONDITIONS = {:only => CONDITIONS_FOR_TOKEN_AUTH} ##this ensures api access to this controller. include Auth::Concerns::DeviseConcern include Auth::Concerns::TokenConcern before_action :do_before_request , TCONDITIONS before_action :initialize_vars , TCONDITIONS end
Version data entries
17 entries across 17 versions & 1 rubygems