Sha256: 35c892ad8abd8094e33145227224147c4b198a9cbfe2be326805763c73f6513d
Contents?: true
Size: 605 Bytes
Versions: 18
Compression:
Stored size: 605 Bytes
Contents
class Auth::Shopping::PaymentsController < Auth::Shopping::ShoppingController include Auth::Concerns::Shopping::PaymentControllerConcern ## 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] 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
18 entries across 18 versions & 1 rubygems