Skip to content

Commit

Permalink
restored the code moved from dryml.rb (c38d037) to railtie.rb got los…
Browse files Browse the repository at this point in the history
…t in a stash/unstash operation
  • Loading branch information
ddnexus committed Oct 16, 2010
1 parent ca071ea commit f40a455
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dryml/lib/dryml/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,12 @@ class Railtie < Rails::Railtie
ActionView::Template.register_template_handler("dryml", Dryml::Railtie::TemplateHandler)
end

initializer 'dryml' do |app|
app.config.to_prepare do
Dryml.clear_cache
Dryml::Taglib.clear_cache
end
end

end
end

0 comments on commit f40a455

Please sign in to comment.