use req:get to provide default value for ch:add-value #59

Merged
merged 1 commit into from Nov 30, 2012

Conversation

Projects
None yet
2 participants
@mblakele
Contributor

mblakele commented Nov 30, 2012

This patch provides a little syntactic sugar in the form of a one-arg form of ch:add-value, using req:get to provide the second arg.

paxtonhare added a commit that referenced this pull request Nov 30, 2012

Merge pull request #59 from mblakele/controller-helper-add-value-default
use req:get to provide default value for ch:add-value

@paxtonhare paxtonhare merged commit f0f0245 into marklogic-community:master Nov 30, 2012

@paxtonhare

This comment has been minimized.

Show comment Hide comment
@paxtonhare

paxtonhare Nov 30, 2012

Contributor

Thanks, Mike!

Contributor

paxtonhare commented Nov 30, 2012

Thanks, Mike!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment