You understand that there’s a controller I’m trying to reference but that’s about it.
I don’t think you’ve understood my question, or the wording of my question, or know what the WelcomeController is.
I don’t mean to sound patronizing and I know you’re trying to help, but you don’t understand. I’m going to break this down as much as I can.
I said in the first sentence “Is it possible to reference welcome#index, in the routes file?”
That means there’s a thing called the WelcomeController , I didn’t create it, otherwise I wouldn’t have said it like that. And ti’s not just a controller that happens to be called that, otherwise again, I wouldn’t have phrased my question as I did.
You don’t seem to be aware of what WelcomeController is.
I even said
“welcome page (That ‘yay’ page rails shows).”
Do you know what I’m referring to now?
Try creating a blank rails program…
do the commands
$ rails new blah
$ cd blah
$ rails s
Now read what it says in the console
It says WelcomeController
I didn’t make that
You’ll have it on your computer too.
Is my question clear to you now?
Also you were trying to tell me that the routes file has a root in there explicitly by default. No it does not. All you have to do is create a blank rails program and look at the routes file and you’ll see it does not. So I don’t understand why you say that?!