Sha256: 5c41d52653fdb352acf99f8a0cf7807c18e068b90ce7cef812a75ce8b691ec5d
Contents?: true
Size: 614 Bytes
Versions: 18
Compression:
Stored size: 614 Bytes
Contents
class Auth::Shopping::PlacesController < Auth::Shopping::ShoppingController include Auth::Concerns::Shopping::PlaceControllerConcern ## 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_filter :do_before_request , TCONDITIONS before_filter :initialize_vars , TCONDITIONS end
Version data entries
18 entries across 18 versions & 1 rubygems