Skip to content

Commit

Permalink
moved dryml clear_cache from page_renderer to a to_prepare block
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Oct 14, 2010
1 parent efeda99 commit c38d037
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dryml/lib/dryml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ def call_render(view, local_assigns, identifier)


def page_renderer(view, local_names=[], page=nil, filename=nil)
if Rails.env.development?
clear_cache
Taglib.clear_cache
end

prepare_view!(view)
included_taglibs = ([APPLICATION_TAGLIB] + application_taglibs() + [subsite_taglib(page)] + controller_taglibs(view.controller.class)).compact
Expand Down

0 comments on commit c38d037

Please sign in to comment.