OK, what am I doing wrong, here?

I set up a Rails project, “belldev”, and
http://dev.xxx.com/public/resolves to
/home/xxx/public_html/xxx/public/index.html

But when I try to access a controller, I keep getting 404’s!

For instance, pages_controller.rb:
class PagesController < ApplicationController
def index
end
end

AND routes.rb:
xxx::Application.routes.draw do
#Pages controller
get “pages/index”
get “pages/help”, as: :help
get “pages/browse”, as: :browse
root to: "pages#index

But when accessing http://dev.xxx.com/pages, I get: File does not exist:
/home/xxx/public_html/xxx/rails_apps/belldev/pages

Any idea of where I’m going wrong, here?

On Thu, Jul 25, 2013 at 9:44 PM, db_lists mail [email protected]
wrote:

Any idea of where I’m going wrong, here?

Yes: not providing any useful information – minimally the details of
the web/app server configuration(s), Ruby/Rails versions, …

root to: "pages#index
Any idea of where I’m going wrong, here?

At the very least you’re missing a closing quote on “pages#index”,
making your provided code invalid.