Dynasnips should be able to take arguments from the url
Reported by James Adam | June 4th, 2008 @ 01:58 AM | in 0.6
Wirhin the body of a dynasnip, I should be able to call something like
def handle(name=nil)
name = arg(:name)
# ...
end
And have the value in 'name' be set either via snips parameters:
{dyna my-name}
Or have the value come from the URL:
http://site/dyna?name=my-name
An example this would be useful for is paginating the 'kind' dyna for going back into blog history.
Comments and changes to this ticket
-
James Adam July 2nd, 2008 @ 09:43 PM
- Tag set to dynasnips, kind
- Milestone set to 0.6
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A sort of meta-wiki thing