lib/mascot/action_controller_context.rb in mascot-rails-0.1.10 vs lib/mascot/action_controller_context.rb in mascot-rails-0.1.11

- old
+ new

@@ -24,10 +24,10 @@ layout: layout, locals: locals, content_type: resource.mime_type.to_s end - # Mascot::PageNotFoundError is handled in the default Mascot::SitemapController + # Mascot::PageNotFoundError is handled in the default Mascot::SiteController # with an execption that Rails can use to display a 404 error. def get(path) resource = resources.get(path) if resource.nil? # TODO: Display error in context of Reources class root.