Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Patel committed Feb 25, 2020
1 parent 911cf52 commit 0a1b780
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/SingleObjectAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class SingleObjectAdmin extends LeftAndMain implements PermissionProvider
private static $allowed_actions = [
'EditForm'
];

/**
* @config
* @var array Allows developers to create adaptations to this plugin by giving a class name top-level uri access
Expand Down Expand Up @@ -91,7 +91,7 @@ public function getCurrentObject()
*/
public function getCMSActions()
{
$actions = new FieldList(FormAction::create('doSave', 'Save')->addExtraClass('btn-primary font-ic1on-save'));
$actions = new FieldList(FormAction::create('doSave', 'Save')->addExtraClass('btn-primary font-icon-save'));

$this->extend('updateCMSActions', $actions);

Expand Down Expand Up @@ -312,7 +312,7 @@ public function Link($action = null)
{
$allowedPlugins = $this->config()->get('plugins');
$allowedPlugins[] = SingleObjectAdmin::class;

$this->extend('updateAllowedPlugins', $allowedPlugins);

// LeftAndMain methods have a top-level uri access
Expand Down

0 comments on commit 0a1b780

Please sign in to comment.