Sha256: 350f4bb5c70452480a24a13a123d6915bd911e5e6ac707d8b07fe0a46fe007b8

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

Version Path
remarkable_rails-3.1.9 spec/application/application.rb