Andy Jeffries wrote:
> OK, so I had a bit more of a play.  You'll still need to do this:

This (and the previous reply) is exactly what I needed! Thanks a bunch 
:-)

> You will probably want to wrap that up in to a method somewhere neater 
> and
> you'd need to consider that the user may already be logged in (in which 
> case
> you don't want the popup), but it may help you get started.

Yes I am going to
1) put it into a helper
2) Let the routing configuration help to decipher controller and action 
name (since I have a mix of link_to calls with straight urls, 
controller/action hashes and rest routes)
3) Check for if the user is already logged in.

This is really great - you rock!

- Carsten
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to