config/routes.rb in transit-0.0.1 vs config/routes.rb in transit-0.0.2
- old
+ new
@@ -1,5 +1,5 @@
Transit::Engine.routes.draw do
- match "packages/:scope_name/:scope_id/contexts/new" => 'contexts#new', :as => :new_package_context, :via => [:get]
- match "packages/:scope_name/:scope_id/contexts/:id" => 'contexts#destroy', :as => :package_context, :via => [:delete]
- root :to => 'index#index'
+ resources :posts
+ resources :pages
+ resources :package_assets, :controller => 'assets'
end
\ No newline at end of file