Class: Forty::Rake::Task
- Inherits:
-
Object
- Object
- Forty::Rake::Task
- Includes:
- Rake::DSL
- Defined in:
- lib/forty/rake/task.rb
Instance Method Summary collapse
Instance Method Details
#install_tasks ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/forty/rake/task.rb', line 9 def install_tasks namespace :acl do namespace :sync do desc 'syncs entire acl config with database' task :all, [:disable_dry_run] do |t, args| dry_run = args[:disable_dry_run].eql?('true') ? false : true Forty.sync(dry_run) end end end end |