Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Dynasnips should be able to take arguments from the url

#15

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.

Reported by James Adam · June 4th, 2008 @ 01:58 AM

State: new
Milestone: 0.6
Assigned to: James Adam James Adam

Activity

  1. James Adam
    James Adam
    • Tag set to dynasnips, kind
    • Milestone set to 0.6

    July 2nd, 2008 @ 09:43 PM

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.