This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
banshee181139655
Hello October Team, For training, i created my own plugin for "pages" with more functions. My plugin works, i can create pages. After that i go to CMS/Page->Plugin Components->add a puplic route for list all my pages. example: mysite.com/mypages Thats works!! But now i like a route for my single post. I dont know how i can do this. How i can add a route to my single pages?
I remember in lavarel: I created a extra controller for that, and i created a new route: Route::get('/{url}', 'publicPageController@getSingle')->name('publicPage.single');
Many thanks :)
Last updated
1-2 of 2