diff --git a/controllers/class.actionscontroller.php b/controllers/class.actioncontroller.php similarity index 87% rename from controllers/class.actionscontroller.php rename to controllers/class.actioncontroller.php index 9f31253..42096a0 100644 --- a/controllers/class.actionscontroller.php +++ b/controllers/class.actioncontroller.php @@ -2,12 +2,12 @@ /* Copyright 2013 Zachary Doll */ /** - * All is the base class for controllers throughout the gamification applicati0n. + * Manage actions that are available for reactions * * @since 1.0 * @package Yaga */ -class ActionsController extends DashboardController { +class ActionController extends DashboardController { /** @var array List of objects to prep. They will be available as $this->$Name. */ public $Uses = array('Form', 'ActionModel'); @@ -42,7 +42,7 @@ class ActionsController extends DashboardController { public function Settings($Page = '') { $this->Permission('Yaga.Reactions.Manage'); - $this->AddSideMenu('actions/settings'); + $this->AddSideMenu('action/settings'); $this->Title('Manage Reactions'); @@ -54,7 +54,7 @@ class ActionsController extends DashboardController { public function Edit($ActionID = NULL) { $this->Permission('Yaga.Reactions.Manage'); - $this->AddSideMenu('actions/settings'); + $this->AddSideMenu('action/settings'); $this->Form->SetModel($this->ActionModel); $Edit = FALSE; @@ -83,7 +83,7 @@ class ActionsController extends DashboardController { $NewActionRow .= "
$Action->Description | "; echo "$Action->Tooltip | "; echo "$Action->AwardValue | "; - echo '' . Anchor(T('Edit'), 'yaga/actions/edit/' . $Action->ActionID, array('class' => 'Popup SmallButton')) . Anchor(T('Delete'), 'yaga/actions/delete/' . $Action->ActionID, array('class' => 'Hijack SmallButton')) . ' | '; + echo '' . Anchor(T('Edit'), 'yaga/action/edit/' . $Action->ActionID, array('class' => 'Popup SmallButton')) . Anchor(T('Delete'), 'yaga/action/delete/' . $Action->ActionID, array('class' => 'Hijack SmallButton')) . ' | '; echo ''; } ?>