Hi ,
I am having a problem in sending loggedin user and also his website name as paramters .So that he can have preview of that.
Relationship : I have 2 models user an website and relationship between them is user :has_one website
So when i click on <%= link_to 'preview' ,:controller=>'home',:action=>'index' %> , in this i need to send respective user who has logged in and also his corresponding website. SO how can i send these values as paramters.