Skip to content

Commit

Permalink
switch to attribute routes, remove unused package
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Oct 19, 2023
1 parent 29f7a78 commit 17a79c5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Version 2.1.0

Compatibility: requires minimum Kimai 2.1.0

- Fixed: route mapping type changed to attribute

## Version 2.0.1

Compatibility: requires minimum Kimai 2.0
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[![CI Status](https://github.com/Keleo/DemoBundle/workflows/CI/badge.svg)](https://github.com/Keleo/DemoBundle/actions)

A Kimai 2 plugin, which showcases some developer options within Kimai 2.
A plugin to showcase some developer options within Kimai.

## What's included?

Expand Down Expand Up @@ -38,6 +38,7 @@ This plugin is compatible with the following Kimai releases:
| Bundle version | Minimum Kimai version |
|----------------|-----------------------|
| 2.1.0 | 2.1.0 |
| 2.0 | 2.0.0 |
| 0.9 - 0.10 | 1.11 |
| 0.9 | 1.11 |
Expand Down
4 changes: 2 additions & 2 deletions Resources/config/routes.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
controllers:
resource: '../../Controller/'
type: annotation
type: attribute
prefix: /{_locale}
requirements:
_locale: '%app_locales%'
Expand All @@ -9,5 +9,5 @@ controllers:

demo.api:
resource: "@DemoBundle/API/"
type: annotation
type: attribute
prefix: /api
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Showcase plugin for Kimai, with demos for many extension points within the core",
"homepage": "https://github.com/Keleo/DemoBundle",
"type": "kimai-plugin",
"version": "2.0.1",
"version": "2.1.0",
"keywords": [
"kimai",
"kimai-plugin"
Expand All @@ -17,7 +17,7 @@
],
"extra": {
"kimai": {
"require": 20000,
"require": 20100,
"name": "Developer demo"
}
},
Expand All @@ -28,7 +28,6 @@
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": false,
"symfony/flex": false,
"symfony/runtime": false
},
Expand Down

0 comments on commit 17a79c5

Please sign in to comment.