Comments (4)
It's not supported yet but it should :) This routing loader still needs some love.
from knpradbundle.
I tried the following code.
App:Frontend\Post:
prefix: /post
App:Admin\Post: ~
then I got the following result
app_frontend_post_index GET /post/
app_frontend_post_new GET /post/new
app_frontend_post_create POST /post/
app_frontend_post_show GET /post/{id}
app_frontend_post_edit GET /post/{id}/edit
app_frontend_post_update PUT /post/{id}
app_frontend_post_delete DELETE /post/{id}
app_admin_post_index GET /admin/post/
app_admin_post_new GET /admin/post/new
app_admin_post_create POST /admin/post/
app_admin_post_show GET /admin/post/{id}
app_admin_post_edit GET /admin/post/{id}/edit
app_admin_post_update PUT /admin/post/{id}
app_admin_post_delete DELETE /admin/post/{id}
It seems to work. Controller mapping is also ok. Is there any problem?
from knpradbundle.
I can confirm that this works.
App:Frontend\Home:index: /
and it uses the Resources/views/Frontend/Home/index.html view file.
from knpradbundle.
yes it works, sorry for confusion.
from knpradbundle.
Related Issues (20)
- ServiceCircularReferenceException HOT 8
- Docs fix: addParameter should be setParameter HOT 1
- Auto registration Twig extensions with arguments HOT 2
- Two Symfony version dependency
- Rewriting Behat tests HOT 16
- We need a new stable release HOT 8
- Impossible to use as "dev-master" dependency HOT 3
- Support for Auto-Registering Event Subscribers HOT 3
- array syntax used on rad.knplabs.com cannot be used with minimum rad-edition requirements HOT 1
- [RFC] it could load every yml file present in config/services folder HOT 6
- rename jquery-ujs. HOT 6
- add copyright headers on all files HOT 4
- twitter bootstrap 3? HOT 3
- createAccessDeniedException() must be public HOT 6
- The "flashes" twig tag should have access to parent scope variables HOT 2
- split KnpRadBundle into smaller components HOT 11
- port Metawidget to Symfony
- Symfony 2.7 support HOT 8
- Caching option for better performance
- Bundle is outdated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knpradbundle.