> The 'delete' link will be displayed ONLY if the current user (i.e. the > user > which is actually signe in) is ADMIN: > > if current_user.admin? > > So check the user credentials you use to sign in, - it is as easy as it > is.
Yes, It's as easy as it is after you giving me direction. I solved this problem Thank you. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d1a726573f813d1c50b8d5321d17dd9e%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.

