Skip to content

Commit

Permalink
Adding explicit call to service.new, because of recent change in rail…
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwhite committed Oct 13, 2008
1 parent 1cf438f commit f4e1781
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ardes/resources_controller.rb
Expand Up @@ -824,6 +824,10 @@ def find(*args, &block)
resource_specification.find ? resource_specification.find_custom(controller) : super
end

def new(*args, &block)
service.new(*args, &block)
end

def respond_to?(method)
super || service.respond_to?(method)
end
Expand Down

0 comments on commit f4e1781

Please sign in to comment.