Sha256: a909a8fe3241dbe84321dd71166911b321f33c09466fa9840f3b1e4c05b20787
Contents?: true
Size: 325 Bytes
Versions: 1
Compression:
Stored size: 325 Bytes
Contents
namespace :papers_please do desc 'Print out all defined roles and permissions in match order' task :roles, [:klass] => :environment do |_, args| klass = klass ? Object.const_get(klass) : AccessPolicy puts "Generating Role/Permission Table for #{klass}...\n\n" PapersPlease.permissions_table(klass) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
papers_please-0.1.4 | lib/papers_please/tasks/papers_please.rake |