Code Monkey home page Code Monkey logo

Comments (4)

docteurklein avatar docteurklein commented on June 2, 2024

It's not supported yet but it should :) This routing loader still needs some love.

from knpradbundle.

rfkm avatar rfkm commented on June 2, 2024

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.

oste avatar oste commented on June 2, 2024

I can confirm that this works.

App:Frontend\Home:index: /

and it uses the Resources/views/Frontend/Home/index.html view file.

from knpradbundle.

docteurklein avatar docteurklein commented on June 2, 2024

yes it works, sorry for confusion.

from knpradbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.