Skip to content

Commit

Permalink
Merge remote-tracking branch 'mediabeastnz/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
gorriecoe committed Feb 5, 2016
2 parents 2e0d980 + 6845473 commit 3fb79d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Simple SilverStripe module to trigger a dev/build via ajax in the CMS.
This will allow you to close that extra tab that we all keep open just for dev/build.

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/mediabeastnz/silverstripe-fancy-devbuild/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/mediabeastnz/silverstripe-fancy-devbuild/?branch=master)

## Installation
Composer is the recommended way of installing SilverStripe modules.
```
Expand Down
4 changes: 3 additions & 1 deletion code/DevTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ public function init()
{
parent::init();

if (!Permission::check("VIEW_DEVTASKS")) return;
if (!Permission::check("VIEW_DEVTASKS")) {
return;
}

$tasks = array(
'devbuild' => array(
Expand Down

0 comments on commit 3fb79d1

Please sign in to comment.