The part of the user logging in is all set up. I want to be able to
update
a div with a menu, based on the type of user (acl) who is logged in.
Not sure which ajax function to use ?
I’m thinking it wouldn’t work on the sign in form, but more on the
success
of the sign in.
The part of the user logging in is all set up. I want to be able to
update a div with a menu, based on the type of user (acl) who is logged in.
Not sure which ajax function to use ?
Set it up like this but not rendering , just spitting out the text of
the
js:
controller:
unless current_user.id == 0
render :update do |page|
page.insert_html :bottom, ‘subnav’, :partial => ‘navigation’
end
end