Skip to content

Commit

Permalink
More 1.0 prep (#448)
Browse files Browse the repository at this point in the history
nie7321 authored Mar 19, 2024

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
1 parent 3abea68 commit 180947d
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ jobs:
yarn install
yarn docs:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.3
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: .build
4 changes: 2 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -22,15 +22,15 @@ jobs:


- name: Setup PHP
uses: shivammathur/setup-php@2.25.5
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug

- name: Run php-cs-fixer
uses: OskarStark/php-cs-fixer-ga@3.13.0

- uses: stefanzweifel/git-auto-commit-action@v4.16.0
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply php-cs-fixer changes

14 changes: 7 additions & 7 deletions stubs/routes.stub
Original file line number Diff line number Diff line change
@@ -2,19 +2,19 @@ Route::prefix('dynamic-forms')->name('dynamic-forms.')->group(function () {
// Dummy route so we can use the route() helper to give formiojs the base path for this group
Route::get('/')->name('index');

Route::post('storage/s3', [Controllers\DynamicFormsStorageController::class, 'storeS3'])
Route::post('storage/s3', [\App\Http\Controllers\DynamicFormsStorageController::class, 'storeS3'])
->withoutMiddleware([\Illuminate\Foundation\Http\Middleware\VerifyCsrfToken::class]);

Route::get('storage/s3', [Controllers\DynamicFormsStorageController::class, 'showS3'])->name('S3-file-download');
Route::get('storage/s3', [App\Http\Controllers\DynamicFormsStorageController::class, 'showS3'])->name('S3-file-download');
Route::get('storage/s3/{fileKey}', [Controllers\DynamicFormsStorageController::class, 'showS3'])->name('S3-file-redirect');

Route::post('storage/url', [Controllers\DynamicFormsStorageController::class, 'storeURL'])
Route::post('storage/url', [\App\Http\Controllers\DynamicFormsStorageController::class, 'storeURL'])
->withoutMiddleware([\Illuminate\Foundation\Http\Middleware\VerifyCsrfToken::class]);

Route::get('storage/url', [Controllers\DynamicFormsStorageController::class, 'showURL'])->name('url-file-download');
Route::get('storage/url', [\App\Http\Controllers\DynamicFormsStorageController::class, 'showURL'])->name('url-file-download');
Route::delete('storage/url', [Controllers\DynamicFormsStorageController::class, 'deleteURL']);

Route::get('form', [Controllers\ResourceController::class, 'index']);
Route::get('form/{resource}', [Controllers\ResourceController::class, 'resource']);
Route::get('form/{resource}/submission', [Controllers\ResourceController::class, 'resourceSubmissions']);
Route::get('form', [\App\Http\Controllers\ResourceController::class, 'index']);
Route::get('form/{resource}', [\App\Http\Controllers\ResourceController::class, 'resource']);
Route::get('form/{resource}/submission', [\App\Http\Controllers\ResourceController::class, 'resourceSubmissions']);
});

0 comments on commit 180947d

Please sign in to comment.