Replace best_in_place editor on admin settings page (#2789)
* Remove best_in_place * Replace best_in_place usage with rails helpers * Move admin/settings#index to #edit action * Remove click_to__edit from i18n
This commit is contained in:
committed by
Eugen Rochko
parent
91ddd345f2
commit
2bd132d458
@ -22,7 +22,7 @@ namespace :mastodon do
|
||||
user = Account.find_local(ENV.fetch('USERNAME')).user
|
||||
user.update(admin: true)
|
||||
|
||||
puts "Congrats! #{user.account.username} is now an admin. \\o/\nNavigate to #{admin_settings_url} to get started"
|
||||
puts "Congrats! #{user.account.username} is now an admin. \\o/\nNavigate to #{edit_admin_settings_url} to get started"
|
||||
end
|
||||
|
||||
desc 'Manually confirms a user with associated user email address stored in USER_EMAIL environment variable.'
|
||||
|
Reference in New Issue
Block a user