lib/mascot/action_controller_context.rb in mascot-rails-0.1.8 vs lib/mascot/action_controller_context.rb in mascot-rails-0.1.9
- old
+ new
@@ -38,10 +38,10 @@
end
end
# Default finder of the resource for the current controller context.###
def find_resource
- get controller.params[:path]
+ get controller.params[:resource_path]
end
private
# Returns the current layout for the inline Mascot renderer.
def controller_layout