SImple authentication with Netzke

188 views
Skip to first unread message

Sacketty

unread,
Aug 1, 2012, 12:51:37 PM8/1/12
to net...@googlegroups.com
I am very new to Netzke. I checked out  the authentication demo at http://a3r.me/blog/2011/netzke-cucumber-selenium.html but it seems a bit outdated. Can anyone give me an idea of how Netzke 0.7.6 handles rails3 sessions controller. Creating a user is straight forward. the demo is not quite clear as how the connection is made to the session controller. I guess app/components/login.rb makes referes to endpoint :login  but I can't see where Rails would handle the authentication process.  
Anyone could clarify ?

scho

unread,
Aug 2, 2012, 3:06:32 AM8/2/12
to net...@googlegroups.com
Hi,

here's what I've done in order to access the sessions controller from your netzke component:
https://gist.github.com/3234643

Hope this helps,

cheers!

Sacketty

unread,
Aug 2, 2012, 6:07:43 AM8/2/12
to net...@googlegroups.com
@scho
Thank you!. That is exactly what I was looking for
cheers..
Reply all
Reply to author
Forward
0 new messages