From 03a391482aa6a9d532eb43bb3e697852e0b83618 Mon Sep 17 00:00:00 2001 From: Cyril Jouve Date: Sun, 20 Jan 2013 03:38:45 +0100 Subject: consistently inherit from ApplicationController in guides exemples --- guides/source/nested_model_forms.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/nested_model_forms.md') diff --git a/guides/source/nested_model_forms.md b/guides/source/nested_model_forms.md index 93d8e8dfcd..b90b3bb5fc 100644 --- a/guides/source/nested_model_forms.md +++ b/guides/source/nested_model_forms.md @@ -98,7 +98,7 @@ A nested model form will _only_ be built if the associated object(s) exist. This Consider the following typical RESTful controller which will prepare a new Person instance and its `address` and `projects` associations before rendering the `new` template: ```ruby -class PeopleController < ActionController:Base +class PeopleController < ApplicationController def new @person = Person.new @person.built_address -- cgit v1.2.3