On Mar 11, 2012, at 6:59 PM, Scorpio wrote:

> I went along with all your suggestions added acting, user and subsite
> params. I also deleted the custom actions hoping the context would fix
> it. I deleted the param from the button as well. Still getting
> 
> Routing Error
> 
> No route matches "/admin/users"
> 
> after the redirect same as before. Any ideas ?

You'll need to specify the redirect path directly, since the default isn't 
working for you:

class Admin::UsersController < ApplicationController

  auto_actions :all

  def do_block
    do_transition_action :block do
      flash[:notice] = 'BANHAMMERED"
      redirect_to :someplace
    end

end

--Matt Jones

-- 
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