forked from jamesgolick/resource_controller
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved contents of rails/init.rb into init.rb to avoid Rails 3 depreca…
…tion warnings
- Loading branch information
Anupam Choudhury
committed
Feb 7, 2011
1 parent
48359da
commit 2fb196f
Showing
4 changed files
with
9 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
require File.dirname(__FILE__)+'/rails/init.rb' | ||
require 'resource_controller' | ||
|
||
ActionController::Base.class_eval do | ||
include Urligence | ||
helper_method :smart_url | ||
|
||
extend ResourceController::ActionControllerExtension | ||
end |
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 was deleted.
Oops, something went wrong.
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