Good code?

Hi,

Is this ok as helper code?
http://pastie.caboo.se/58054

I especially was wondering if it is ok to use the “current_user”
method in a helper method?

Anyone has got any thoughts about it?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs