Avatar route changed to '/avatars'
This commit is contained in:
parent
5c292194f3
commit
86130d2ee5
4 changed files with 12 additions and 5 deletions
|
|
@ -8,7 +8,7 @@
|
|||
<script>
|
||||
$(document).ready(function() {
|
||||
Dropzone.options.postavatar= {
|
||||
maxFilesize: 2, // MB
|
||||
maxFilesize: 2, // MB (an avatar)
|
||||
autoProcessQueue: true,
|
||||
accept: function(file, done) {
|
||||
if (file.name == "justinbieber.jpg") {
|
||||
|
|
@ -21,7 +21,7 @@ $(document).ready(function() {
|
|||
});
|
||||
</script>
|
||||
}
|
||||
<img src="~/Avatars/@(User.Identity.Name).png">
|
||||
<img src="~/avatars/@(User.Identity.Name).png">
|
||||
|
||||
<form id="postavatar" class="dropzone" method="post" enctype="multipart/form-data">
|
||||
<div class="fallback">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue