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:
parent
91ddd345f2
commit
2bd132d458
28 changed files with 117 additions and 97 deletions
|
@ -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.'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue