Sha256: 0121e660436dcc5456cd63817d522c3382eb29f56c4c337e6eaeb22fd4acf057
Contents?: true
Size: 272 Bytes
Versions: 12
Compression:
Stored size: 272 Bytes
Contents
class UsersGuard def initialize(guard) guard.name = "users" guard.aliases= {:edit => :update} guard.action_map= { :index => [:*], :show => [:users], :create => [:users], :update => [:users], :destroy => [:users] } end end
Version data entries
12 entries across 12 versions & 1 rubygems