Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Allow a methods parameter to be passed to /variants/:id/reset.json

  • Loading branch information...
commit d77ffcc19efb747bbb8a32dbc82e90f0414f3980 1 parent b2f5ca6
Winton Welsh authored November 08, 2010

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  lib/a_b/controller/api.rb
1  lib/a_b/controller/api.rb
@@ -285,6 +285,7 @@
285 285
       @variant.update_attribute(:data, nil)
286 286
       @variant.to_json(
287 287
         :include => symbolize(params[:include]),
  288
+        :methods => symbolize(params[:methods]),
288 289
         :only => symbolize(params[:only])
289 290
       )
290 291
     else

0 notes on commit d77ffcc

Please sign in to comment.
Something went wrong with that request. Please try again.