Skip to content

Commit

Permalink
Update for beta 8
Browse files Browse the repository at this point in the history
  • Loading branch information
dsevillamartin committed Sep 23, 2018
1 parent f67c69b commit 1911875
Show file tree
Hide file tree
Showing 25 changed files with 5,398 additions and 2,737 deletions.
9 changes: 0 additions & 9 deletions bootstrap.php

This file was deleted.

4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
],
"require": {
"flarum/core": "^0.1.0-beta.6"
"flarum/core": "^0.1.0-beta.7"
},
"autoload": {
"psr-4": {
Expand All @@ -30,7 +30,7 @@
"flarum-extension": {
"title": "Flagrow Users List",
"icon": {
"name": "users",
"name": "fas fa-users",
"backgroundColor": "#f4f4f4",
"color": "#5f4bb6"
}
Expand Down
13 changes: 13 additions & 0 deletions extend.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
namespace Flagrow\UsersList;

use Flarum\Extend;

return [
(new Extend\Frontend('admin'))
->js(__DIR__ . '/js/dist/admin.js')
->css(__DIR__ . '/resources/less/admin.less'),
new Extend\Locales(__DIR__ . '/resources/locale'),
(new Extend\Routes('api'))
->post('/admin-mail', 'flagrow.users-list.create-mail', Api\Controller\SendAdminEmailController::class),
];
1 change: 1 addition & 0 deletions js/admin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './src/admin';
10 changes: 0 additions & 10 deletions js/admin/Gulpfile.js

This file was deleted.

352 changes: 0 additions & 352 deletions js/admin/dist/extension.js

This file was deleted.

7 changes: 0 additions & 7 deletions js/admin/package.json

This file was deleted.

6 changes: 0 additions & 6 deletions js/admin/src/main.js

This file was deleted.

Loading

0 comments on commit 1911875

Please sign in to comment.