Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix params #480

Closed
wants to merge 1 commit into from

2 participants

@theslava

Make it so that params gets the arguments it needs to make a decision on which part of params to return.

Fixes params($source) returning all the params.

@theslava theslava Fix params
Make it so that params gets the arguments it needs to make a decision on which part of params to return.

Fixes params($source) returning all the params.
3a7bbe2
@veryrusty veryrusty referenced this pull request
Closed

Update DSL.pm #508

@xsawyerx
Owner

Merged, thanks! :)

@xsawyerx xsawyerx closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 23, 2013
  1. @theslava

    Fix params

    theslava authored
    Make it so that params gets the arguments it needs to make a decision on which part of params to return.
    
    Fixes params($source) returning all the params.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Dancer2/Core/DSL.pm
View
2  lib/Dancer2/Core/DSL.pm
@@ -294,7 +294,7 @@ sub uri_for { shift->request->uri_for(@_) }
sub splat { shift->request->splat }
-sub params { shift->request->params }
+sub params { shift->request->params(@_) }
sub param { shift->request->param(@_) }
Something went wrong with that request. Please try again.