-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enclosing resources are now all loaded by one method :load_enclosing which is a prepend_before_filter. This means that you can access the enclosing resources in all before_filters, even when a subclass adds more nestings. Example: class PostsController < ApplicationController resources_controller_for :posts end class UserPostsController < PostsController nested_in :user before_filter {|c| raise 'boom' if @user.name == 'Santa'} end git-svn-id: https://svn.ardes.com/rails_plugins/resources_controller@398 845bbffb-5c18-0410-91b3-f25c072b94c1
- Loading branch information
ian
committed
Aug 17, 2007
1 parent
836cf60
commit f4f78c8
Showing
5 changed files
with
57 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters