spec/sample_app/init.rb in paloma-0.0.8 vs spec/sample_app/init.rb in paloma-1.2.0
- old
+ new
@@ -25,10 +25,13 @@
# Routes
app.routes.draw do
resources :articles, :controller => 'Articles'
- resources :categories, :module => 'SampleNamespace'
+
+ namespace :sample_namespace do
+ resources :categories
+ end
end
require "#{Paloma.root}/spec/sample_app/models"
require "#{Paloma.root}/spec/sample_app/controllers"