It is WelcomeController, but it's inside the Rails gem, so it's Rails::WelcomeController:
Started GET "/" for 127.0.0.1 at 2019-03-08 07:53:01 -0500
(0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Volumes/eddy/Users/waltd/.rvm/gems/ruby-2.4.4/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
Processing by Rails::WelcomeController#index as HTML
That's the controller you'll need to reference in your route. I am not at all sure how you would do this in the routes syntax, but maybe something like this would work:
get '/foo', to: 'rails/welcome#index'
Experiment with that angle, or read the Rails API to see if there's another syntax you can use. There's something useful in the Rails Guide "Routing from the outside in" that might work:
scope module: 'rails' do
get '/foo', to: 'welcome#index'
end
Walter
> --
> 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/CAL%3D0gLv4JqvtXmHCDOuLCWo23DOP0o68CPDuB6eaLzkX-kk6eg%40mail.gmail.com.
> For more options, visit
https://groups.google.com/d/optout.