Using more generic action_name method and add authorized? method
Added adapter for Padrino