Skip to content

Commit

Permalink
Merge branch 'di/polls-ui-prototype' of github.com:FriendsOfFlarum/po…
Browse files Browse the repository at this point in the history
…lls into di/polls-ui-prototype
  • Loading branch information
DavideIadeluca committed Feb 1, 2024
2 parents 3d0e0bc + ab9dfe2 commit 532e530
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@

return [
(new Extend\Frontend('forum'))
->js(__DIR__ . '/js/dist/forum.js')
->css(__DIR__ . '/resources/less/forum.less')
->js(__DIR__.'/js/dist/forum.js')
->css(__DIR__.'/resources/less/forum.less')
->route('/polls', 'fof_polls_directory', Content\PollsDirectory::class),

(new Extend\Frontend('admin'))
->js(__DIR__ . '/js/dist/admin.js')
->css(__DIR__ . '/resources/less/admin.less'),
->js(__DIR__.'/js/dist/admin.js')
->css(__DIR__.'/resources/less/admin.less'),

new Extend\Locales(__DIR__ . '/resources/locale'),
new Extend\Locales(__DIR__.'/resources/locale'),

(new Extend\Routes('api'))
->post('/fof/polls', 'fof.polls.create', Controllers\CreatePollController::class)
Expand Down Expand Up @@ -107,5 +107,5 @@
->scope(Access\ScopePollVisibility::class),

(new Extend\View())
->namespace('fof-polls', __DIR__ . '/resources/views'),
->namespace('fof-polls', __DIR__.'/resources/views'),
];

0 comments on commit 532e530

Please sign in to comment.