Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could find new controller files #7

Open
llwang8 opened this issue Nov 22, 2015 · 2 comments
Open

could find new controller files #7

llwang8 opened this issue Nov 22, 2015 · 2 comments

Comments

@llwang8
Copy link

llwang8 commented Nov 22, 2015

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.

@DanielKehoe
Copy link
Member

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').

@llwang8
Copy link
Author

llwang8 commented Nov 23, 2015

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 [email protected]
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
#7 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants