mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 11:38:49 +01:00
7 lines
No EOL
286 B
Text
7 lines
No EOL
286 B
Text
if @saved
|
|
page["user-#{@deleted_user.id}"].remove
|
|
page['user_count'].replace_html @total_users.to_s
|
|
page.notify :notice, "User #{@deleted_user.login} was successfully destroyed", 2.0
|
|
else
|
|
page.notify :error, "There was an error deleting the user #{@deleted_user.login}", 8.0
|
|
end |