Open llwang8 opened 8 years ago
I am unable to duplicate the issue. I built the app using Rails Composer then tried
$ rails generate controller Comments
and the new controller is in app/controllers as expected (note: "app/controllers" with an 's').
Daniel,
Thanks for your feedback. I solved the previous adm issue by going into database and gave myself a role of 2. Haha.
Never mind about my previous question. The devise is unpredictable as far as my current level. Time is a little tight for me to figure things out. Somehow the app I am building is synchronized to app_org through github ( I forgot to create a new git repo after I renamed the old version as _org). A bit strange. The controller and models created for this one showed up on the app_org. Abandon this devise one and started from scratch with a simple approach. I will try the devise some other times. It can do a lot of things. Maybe it will show its wonder second time around building from brand new state. Thanks.
Li Wang
On Mon, Nov 23, 2015 at 12:53 AM, Daniel Kehoe notifications@github.com wrote:
I am unable to duplicate the issue. I built the app using Rails Composer then tried
$ rails generate controller Comments
and the new controller is in app/controllers as expected (note: "app/controllers" with an 's').
— Reply to this email directly or view it on GitHub https://github.com/RailsApps/rails-devise-roles/issues/7#issuecomment-158858752 .
I don't know what could be the problem? I am using rails composer tools for user authentication and authorization. all went well until I did rails generate controller. I can see files are generated but I could not find the files at app/controller.