Sha256: f10a40fbbd45829ede4322a577aa4e8b5c2dea6017f63da701e7005f8a9f99b6

Contents?: true

Size: 381 Bytes

Versions: 2

Compression:

Stored size: 381 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

2 entries across 2 versions & 1 rubygems

Version Path
remarkable_rails-3.0.0 spec/application/application.rb
remarkable_rails-3.0.1 spec/application/application.rb