From 67b836164997527b91452b19adbcb8aa3c5decf1 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 15 May 2016 18:31:47 -0400 Subject: Refactoring: added controlled middleware and changed response class --- app/Template/config/application.php | 2 +- app/Template/config/board.php | 2 +- app/Template/config/calendar.php | 4 ++-- app/Template/config/integrations.php | 4 ++-- app/Template/config/layout.php | 3 +-- app/Template/config/project.php | 2 +- app/Template/config/webhook.php | 4 ++-- 7 files changed, 10 insertions(+), 11 deletions(-) (limited to 'app/Template/config') diff --git a/app/Template/config/application.php b/app/Template/config/application.php index 259756bc..ee0e147b 100644 --- a/app/Template/config/application.php +++ b/app/Template/config/application.php @@ -1,7 +1,7 @@ -
+ form->csrf() ?> diff --git a/app/Template/config/board.php b/app/Template/config/board.php index ba1bab59..75cd40ef 100644 --- a/app/Template/config/board.php +++ b/app/Template/config/board.php @@ -1,7 +1,7 @@ - + form->csrf() ?> diff --git a/app/Template/config/calendar.php b/app/Template/config/calendar.php index b7b230df..37084a8b 100644 --- a/app/Template/config/calendar.php +++ b/app/Template/config/calendar.php @@ -2,7 +2,7 @@

- + form->csrf() ?> @@ -31,4 +31,4 @@ -
\ No newline at end of file + diff --git a/app/Template/config/integrations.php b/app/Template/config/integrations.php index e404c52e..2a29b358 100644 --- a/app/Template/config/integrations.php +++ b/app/Template/config/integrations.php @@ -2,7 +2,7 @@

-
+ form->csrf() ?> hook->render('template:config:integrations', array('values' => $values)) ?> @@ -14,4 +14,4 @@
-
\ No newline at end of file + diff --git a/app/Template/config/layout.php b/app/Template/config/layout.php index f34caaab..6eafa593 100644 --- a/app/Template/config/layout.php +++ b/app/Template/config/layout.php @@ -1,10 +1,9 @@
-
\ No newline at end of file + diff --git a/app/Template/config/project.php b/app/Template/config/project.php index b6b7ec25..b0112773 100644 --- a/app/Template/config/project.php +++ b/app/Template/config/project.php @@ -1,7 +1,7 @@ -
+ form->csrf() ?> diff --git a/app/Template/config/webhook.php b/app/Template/config/webhook.php index b96979a0..5db1fa6e 100644 --- a/app/Template/config/webhook.php +++ b/app/Template/config/webhook.php @@ -2,7 +2,7 @@

- + form->csrf() ?> @@ -32,4 +32,4 @@ url->link(t('Reset token'), 'config', 'token', array('type' => 'webhook'), true) ?> -
\ No newline at end of file + -- cgit v1.2.3