Permalink
Browse files

don't overwrite helpers

Signed-off-by: Peter Berkenbosch <peterberkenbosch@me.com>
  • Loading branch information...
1 parent a32a50c commit 04c7e3009d2f2b5a471921370a90a352659ec52c @swistak swistak committed with Peter Berkenbosch Jul 7, 2009
Showing with 0 additions and 5 deletions.
  1. +0 −5 static_content_extension.rb
@@ -27,15 +27,10 @@ def add_static_pages_links
end
ContentController.class_eval do
-
- helper :products
-
def show
@page = Page.find_by_slug(params[:path])
render :file => "#{RAILS_ROOT}/public/404.html", :layout => false, :status => 404 unless @page
end
-
end
-
end
end

0 comments on commit 04c7e30

Please sign in to comment.