Permalink
Browse files

Rails 3 wants Mime::YAML not YML

  • Loading branch information...
1 parent 29576df commit 18fb33cddef5c7d9d844e439f4a48349c3443c84 @dhh dhh committed Jun 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/tolk/locales_controller.rb
View
2 app/controllers/tolk/locales_controller.rb
@@ -13,7 +13,7 @@ def show
@phrases = @locale.phrases_without_translation(params[:page])
end
format.atom { @phrases = @locale.phrases_without_translation(params[:page], :per_page => 50) }
- format.yml { render :text => @locale.to_hash.ya2yaml(:syck_compatible => true) }
+ format.yaml { render :text => @locale.to_hash.ya2yaml(:syck_compatible => true) }
end
end

0 comments on commit 18fb33c

Please sign in to comment.