Skip to content

Commit

Permalink
Bug fix - Typo in variable name, added statusOptions to sample config
Browse files Browse the repository at this point in the history
  • Loading branch information
lfkeitel committed Mar 3, 2015
1 parent 183835f commit f952470
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/classes/Dandelion/Cheesto.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Cheesto
{
public function __construct(CheestoRepo $repo)
{
$this->statucOptions = Configuration::getConfig()['cheesto']['statusOptions'];
$this->statusOptions = Configuration::getConfig()['cheesto']['statusOptions'];
$this->repo = $repo;
return;
}
Expand Down
16 changes: 16 additions & 0 deletions app/config/config.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,22 @@
'tablePrefix' => 'dan_',
),

'cheesto' => array(
// Pre-made options for statuses
'statusOptions' => array(
'Available',
'Away From Desk',
'At Lunch',
'Out for Day',
'Out',
'Appointment',
'Do Not Disturb',
'Meeting',
'Out Sick',
'Vacation'
)
),

// Application configuration
// FQDN/IP for the application
'hostname' => 'http://localhost',
Expand Down

0 comments on commit f952470

Please sign in to comment.