2014-01-08

I would like to make show.html.erb(groups) pages open to visitors(,which are not users) as well.
But my code has "if !checklogin? then return end" on groups_controller, so they can't see the show.html.erb pages. I know I should remove "if ! checklogin? then return end" but have no idea how to reconstruct my code as a whole.

Could you give me some hints?

☆members_controller

☆login.html.erb(members_controller)

☆groups_controller

☆show.html.erb(groups)

Show more