From 1353929a7dbd3f2e897fa7d3ab88e959ca573f9f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 May 2016 13:41:54 -0400 Subject: Rename controllers --- app/Template/link/create.php | 4 ++-- app/Template/link/edit.php | 4 ++-- app/Template/link/index.php | 6 +++--- app/Template/link/remove.php | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'app/Template/link') diff --git a/app/Template/link/create.php b/app/Template/link/create.php index 3b36abee..23990604 100644 --- a/app/Template/link/create.php +++ b/app/Template/link/create.php @@ -2,7 +2,7 @@

-
+ form->csrf() ?> @@ -15,4 +15,4 @@
-
\ No newline at end of file + diff --git a/app/Template/link/edit.php b/app/Template/link/edit.php index e91422be..0ad73275 100644 --- a/app/Template/link/edit.php +++ b/app/Template/link/edit.php @@ -2,7 +2,7 @@

-
+ form->csrf() ?> form->hidden('id', $values) ?> @@ -18,4 +18,4 @@ url->link(t('cancel'), 'link', 'index') ?> -
\ No newline at end of file + diff --git a/app/Template/link/index.php b/app/Template/link/index.php index 1475bd50..7e32069a 100644 --- a/app/Template/link/index.php +++ b/app/Template/link/index.php @@ -18,9 +18,9 @@ @@ -30,4 +30,4 @@ -render('link/create', array('values' => $values, 'errors' => $errors)) ?> \ No newline at end of file +render('link/create', array('values' => $values, 'errors' => $errors)) ?> diff --git a/app/Template/link/remove.php b/app/Template/link/remove.php index 12ca14bb..b7fbef5e 100644 --- a/app/Template/link/remove.php +++ b/app/Template/link/remove.php @@ -8,8 +8,8 @@

- url->link(t('Yes'), 'link', 'remove', array('link_id' => $link['id']), true, 'btn btn-red') ?> + url->link(t('Yes'), 'LinkController', 'remove', array('link_id' => $link['id']), true, 'btn btn-red') ?> - url->link(t('cancel'), 'link', 'index') ?> + url->link(t('cancel'), 'LinkController', 'index') ?>
- \ No newline at end of file + -- cgit v1.2.3