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
Search Repo:
Remove the @response object as we do not need it.
ezmobius (author)
Wed Feb 13 14:23:33 -0800 2008
commit  ab2c368f9296531260530fc054fe89ef6c7b7d17
tree    14400c412c8c82b4ab3a299b47c2d9ea5b0e6cbb
parent  c694ac78a188037cdaf4584c3dc2fd37b613b541
...
161
162
163
164
 
165
166
167
...
170
171
172
173
 
174
175
176
...
193
194
195
196
 
197
198
199
...
161
162
163
 
164
165
166
167
...
170
171
172
 
173
174
175
176
...
193
194
195
 
196
197
198
199
0
@@ -161,7 +161,7 @@
0
   #
0
   #---
0
   # @semipublic
0
- def initialize(request, response = StringIO.new, status=200, headers={'Content-Type' => 'text/html; charset=utf-8'})
0
+ def initialize(request, , status=200, headers={'Content-Type' => 'text/html; charset=utf-8'})
0
     super()
0
     if request.params.key?(_session_id_key)
0
       # Checks to see if a route allows fixation:
0
@@ -170,7 +170,7 @@
0
         request.cookies[_session_id_key] = request.params[_session_id_key]
0
       end
0
     end
0
- @request, @response, @status, @headers = request, response, status, headers
0
+ @request, @status, @headers = request, status, headers
0
   end
0
   
0
   # Dispatch the action
0
@@ -193,7 +193,7 @@
0
     @_benchmarks[:action_time] = Time.now - start
0
   end
0
   
0
- attr_reader :request, :response, :headers
0
+ attr_reader :request, :, :headers
0
   attr_accessor :status
0
   
0
   # ==== Returns

Comments

    No one has commented yet.