mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Added task for set email_public attribute true for all users
This commit is contained in:
parent
e57c83c355
commit
36f97ad5e5
1 changed files with 4 additions and 0 deletions
|
|
@ -14,4 +14,8 @@ namespace :user do
|
|||
end
|
||||
end
|
||||
|
||||
desc "Set email_public attrubute true for all users"
|
||||
task :set_email_public => :environment do
|
||||
User.update_all email_public: true
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue