diff --git a/lib/symfony2.rb b/lib/symfony2.rb index 6c8604d..cdebdf6 100644 --- a/lib/symfony2.rb +++ b/lib/symfony2.rb @@ -281,6 +281,14 @@ end end + namespace :init do + desc "Mounts ACL tables in the database" + task :acl do + run "cd #{latest_release} && #{php_bin} #{symfony_console} init:acl --env=#{symfony_env_prod}" + end + end + + namespace :propel do namespace :database do desc "Create the configured databases."