diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-28 11:31:54 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-28 11:31:54 -0400 |
commit | ab48a09f0d674b703467975b376c5ac7352670ae (patch) | |
tree | 99fbb0cf719acee8c500622d498bd7f6375b62a1 /app/Template/avatar_file | |
parent | 82b5b491bec94cb3d40a5820fbef9959435309be (diff) |
Rename controllers
Diffstat (limited to 'app/Template/avatar_file')
-rw-r--r-- | app/Template/avatar_file/show.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/avatar_file/show.php b/app/Template/avatar_file/show.php index 9f19a1ab..37c56cec 100644 --- a/app/Template/avatar_file/show.php +++ b/app/Template/avatar_file/show.php @@ -6,14 +6,14 @@ <div class="form-actions"> <?php if (! empty($user['avatar_path'])): ?> - <?= $this->url->link(t('Remove my image'), 'AvatarFile', 'remove', array('user_id' => $user['id']), true, 'btn btn-red') ?> + <?= $this->url->link(t('Remove my image'), 'AvatarFileController', 'remove', array('user_id' => $user['id']), true, 'btn btn-red') ?> <?php endif ?> </div> <hr> <h3><?= t('Upload my avatar image') ?></h3> -<form method="post" enctype="multipart/form-data" action="<?= $this->url->href('AvatarFile', 'upload', array('user_id' => $user['id'])) ?>"> +<form method="post" enctype="multipart/form-data" action="<?= $this->url->href('AvatarFileController', 'upload', array('user_id' => $user['id'])) ?>"> <?= $this->form->csrf() ?> <?= $this->form->file('avatar') ?> |