Accessing directly to show action with a submit button.

Hi everybody!

I'm working on a google-like search engine, using Ferret to index
documents on a smb share.
Everything works fine, but I still would like to get rid of the
useless action 'check_query', that doesn't do anything else than
redirecting to 'show' with an id parameter (queries don't need to be
checked/sanitized for Ferret AFAIK).

# documents_controller.rb ##################################
...
def check_query
    redirect_to :action=>'show', :id=>params[:query]
end

def show
    @query=params[:id]
....