On 23 April 2014 17:45, Jan Yo <
li...@ruby-forum.com> wrote:
> I used "rails g scaffold_controller xx".
>
> It generated everything okay. I restarted httpd (web server).
>
> But, the controller won't show up...did a rake routes and it doesn't
> show up there.
>
> Any ideas on how to get my web app to recognize my new controller with
> views?
I don't know whether the command you posted will automatically put an
entry in routes.rb. Have a look and if it has not then you will need
to do it yourself.
If you don't know how routes work then before doing anything else work
right through a good tutorial such as
railstutorial.org, which is free
to use online. That will show you the basics of Rails.
Colin
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to
rubyonra...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/76e1b029a4e71784132e4ec6a9d0bce1%40ruby-forum.com.
> For more options, visit
https://groups.google.com/d/optout.