Skip to content

Commit

Permalink
Rails 3 wants Mime::YAML not YML
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Jun 6, 2010
1 parent 29576df commit 18fb33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/tolk/locales_controller.rb
Expand Up @@ -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

Expand Down

0 comments on commit 18fb33c

Please sign in to comment.