Looks like a routing bug - that message is what you get when you're  
missing (in map.resources style) a member action. Very odd.

--Matt Jones

On Jul 16, 2009, at 2:57 PM, Montgomery Kosma wrote:

>
> I'm struggling here as well.
>
> I have a stupid-simple lifecycle currently being used to toggle an
> object between :active and :expired states.
>
> I can get the right buttons to show up on my show page by adding this
> to show.dryml:
>
>  <append-content-header:>
>    <transition-buttons />
>  </append-content-header:>
>
> That seems to link to the transition form -- at least it directs to
> http://localhost:3000/file_sets/13-t-collections-a-r-a-r/expire
>
> However, I get an error saying
>
> ActionController::UnknownAction (No action responded to 13-t-
> collections-a-r-a-r. Actions: access_denied, activate,
> authenticated_user_from_cookie, authorized?, complete_custodian_name,
> create, create_auth_cookie, destroy, do_activate, do_expire,
> do_unexpire, edit, expire, export, index, login_from_cookie,
> login_required, model, new, redirect_back_or_default, show,
> store_location, unexpire, and update):
>  vendor/plugins/hobo/hobo/lib/hobo/controller.rb:22:in `call'
>  vendor/plugins/hobo/hobo/lib/hobo/controller.rb:22:in
> `included_in_class'
>
> Funny thing is, if I hit F5 to refresh, it seems to get past the
> error.
>
>
>
> On Jul 15, 2:35 pm, kevinpfromnm <[email protected]> wrote:
>> Maybe I'm missing something obvious (seems like each time I start one
>> of these posts I figure out a work around before I hit post) but I'm
>> not sure how one is supposed to use the transition-button tag or the
>> clean way of getting a link to a transition form.  Currently, I've
>> manually made a form for one and manually created the href for a
>> link.  I did get transition buttons working on already existing
>> lifecycles but have had no such luck for the create part.
>>
>> Anyone with some tips?  Maybe an example or two?
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to