spec/application/application.rb in remarkable_rails-3.1.8 vs spec/application/application.rb in remarkable_rails-3.1.9

- old
+ new

@@ -1,15 +1,15 @@ -# Create an application controller to satisfy rspec-rails, a dummy controller -# and define routes. -# -class ApplicationController < ActionController::Base -end - -class Task; end - -# Define routes -ActionController::Routing::Routes.draw do |map| - map.resources :projects, :has_many => :tasks - map.connect ':controller/:action/:id' - map.connect ':controller/:action/:id.:format' -end - +# Create an application controller to satisfy rspec-rails, a dummy controller +# and define routes. +# +class ApplicationController < ActionController::Base +end + +class Task; end + +# Define routes +ActionController::Routing::Routes.draw do |map| + map.resources :projects, :has_many => :tasks + map.connect ':controller/:action/:id' + map.connect ':controller/:action/:id.:format' +end +