Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Oil
Scaffold on Admin
arnoldgamboa
January 2012
Hi I will have an /admin directory. Is there a way to create a scaffolding under that directory? For instance, I'll make /admin/members. FuelPHP newbie here. (Coming from Kohana). -Arnold
Harro
January 2012
That would translate to Controller_Admin_Members. If you pass that to oil to generate, it will place it in the right location automatically.
arnoldgamboa
January 2012
What would be the OIL command to pass? (For Admin) Thanks.
Harro
January 2012
"php oil g controller admin_members action1 action2 action3" should do it...
arnoldgamboa
January 2012
Thanks! Will try that out.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,088
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
260
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
arnoldgamboa
January 2012
Harro
January 2012