GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Simplify one more clever line.
Sat Sep 06 04:20:00 -0700 2008
commit  3b6a8d5fdf5040cbb17890260e3a8fe67acf8b21
tree    b0279a802d09d7284e6162dce3de5d488ddd0bfd
parent  dede45e06d205ba40590f065b169d31a5b3ef828
...
95
96
97
98
 
99
100
101
...
95
96
97
 
98
99
100
101
0
@@ -95,7 +95,7 @@ module Merb::RenderMixin
0
     thing ||= action_name.to_sym
0
 
0
     # Content negotiation
0
- opts[:format] ? (self.content_type = opts[:format]) : content_type
0
+ self.content_type = opts[:format] if opts[:format]
0
 
0
     # Handle options (:status)
0
     _handle_options!(opts)

Comments

    No one has commented yet.