Skip to content

Commit

Permalink
Merge pull request #21 from ian-patel/master
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
Rhym authored Feb 25, 2020
2 parents 911cf52 + 0a1b780 commit 0bcc6c1
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 0bcc6c1

Please sign in to comment.