Sha256: 3ac0b83e83701c6b02c224df4723fda894ef364b08fdf2b1ee1556a811b67c35
Contents?: true
Size: 395 Bytes
Versions: 18
Compression:
Stored size: 395 Bytes
Contents
# 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
Version data entries
18 entries across 18 versions & 1 rubygems