summaryrefslogtreecommitdiff
path: root/app/Helper/AppHelper.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-02-04 16:03:29 -0500
committerFrederic Guillot <fred@kanboard.net>2017-02-04 16:03:29 -0500
commitd5c4c18ea0bd6c0d1a9d0104c1c17748a35f85a7 (patch)
tree313e42064e41c0b4da565d98992f5aa2933dd8ed /app/Helper/AppHelper.php
parent8eac12188865f380439a40549e6e6ed58c3f405c (diff)
Add email address field for projects
Diffstat (limited to 'app/Helper/AppHelper.php')
-rw-r--r--app/Helper/AppHelper.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Helper/AppHelper.php b/app/Helper/AppHelper.php
index 3b48d7d3..3cefd1c5 100644
--- a/app/Helper/AppHelper.php
+++ b/app/Helper/AppHelper.php
@@ -12,6 +12,11 @@ use Kanboard\Core\Base;
*/
class AppHelper extends Base
{
+ public function isAjax()
+ {
+ return $this->request->isAjax();
+ }
+
/**
* Render Javascript component
*