I want to connect default route to controller Report::SalesController,
so I have line:
map.connect '', :controller => 'report/sales'
SalesController is in app/controllers/report/sales.rb
and is declared as:
class Report::SalesController < ApplicationController
The problem is that when I try to open root url of my application I
get error message:
uninitialized constant SalesController
What I'm doing wrong?