load_resource :find_by => :permalink # will use find_by_permalink!(params[:id])
load_resource :id_key => :url # will use find(params[:url])
I need to find User by email. How I can use above both to get something like find_by_email(params[:email])
Thanks for help.
I think you can achieve this by the following
load_resource :find_by => :email, :id_param => :email