mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-05 04:20:15 +01:00
Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
This commit is contained in:
parent
6a42901514
commit
4cbf5a34d3
2269 changed files with 0 additions and 0 deletions
7
app/views/users/destroy.js.rjs
Normal file
7
app/views/users/destroy.js.rjs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue