Skip to content

Commit

Permalink
Bug fix for rails 2.3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Bassett committed Feb 26, 2009
1 parent 269ce6f commit eb4b576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rtex/framework/rails.rb
Expand Up @@ -22,7 +22,7 @@ def initialize(*args)
# Support Rails render API before:
# commit d2ccb852d4e1f6f1b01e43f32213053ae3bef408
# Date: Fri Jul 18 16:00:20 2008 -0500
if defined?(@view)
if @view
@view.template_format = :pdf
end
# Tag for RTeX
Expand Down Expand Up @@ -69,4 +69,4 @@ def latex_escape(s)

end
end
end
end

0 comments on commit eb4b576

Please sign in to comment.