rails 4 default route using controller#action

Now you can set rails root route using as follows

scope :module => 'gluttonberg' do
    scope :module => 'public' do
      root :to => "pages#show"
    end
  end
db username