I'm new to Ruby/RoR so please bare with me!
I'm trying to adapt a ruby setup where someone logs in to a bonjour
service via a web browser. I have the login screen which asks for host
and password. There is only one user per host and i can log in fine.
It's suppose to redirect me to /list in my browser but
doesn't. Once i've entered the correct login credentials and manually
add /list to the address i can see what i want. So the login seems to
work, it just doesn't redirect me. I need it to redirect me though when
the login is successful.
The part i believe i need to edit;
class JobController < ApplicationController
before_filter :verify_login, :except => [:index, :login_to_engine]
before_filter :engine, :except => [:index, :login_to_engine]
redirect_to :controller => 'job', :action => 'index'
which is in my controllers directory.
Any help appreciated!