Skip to content

Commit

Permalink
Minor load paths tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Dec 22, 2009
1 parent b614fb9 commit 2ea5a64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ begin
s.homepage = "http://github.com/josevalim/inherited_resources"
s.description = "Inherited Resources speeds up development by making your controllers inherit all restful actions so you just have to focus on what is important."
s.authors = ['José Valim']
s.files = FileList["[A-Z]*", "{lib}/**/*"]
s.files = FileList["[A-Z]*", "init.rb", "{lib}/**/*"]
s.add_dependency("responders", ">= 0.2")
s.add_dependency("has_scope", ">= 0.3")
end
Expand Down
2 changes: 1 addition & 1 deletion init.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
require File.join(File.dirname(__FILE__), 'lib', 'inherited_resources')
require 'inherited_resources'
4 changes: 2 additions & 2 deletions lib/inherited_resources.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# are loaded on demand.
#
unless defined?(ActionController::Responder)
require File.join(File.dirname(__FILE__), 'inherited_resources', 'legacy', 'responder')
require File.join(File.dirname(__FILE__), 'inherited_resources', 'legacy', 'respond_to')
require 'inherited_resources/legacy/responder'
require 'inherited_resources/legacy/respond_to'
end

require 'responders'
Expand Down

0 comments on commit 2ea5a64

Please sign in to comment.