Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- school_groups = ( (group_count=@user.school.groups.count) > 0 ? "There are #{group_count} groups associated with your school. Why not take a look at what is available?" : "Ugh, looks like there aren't any groups registered for your school yet. Why not be the first and " + link_to('create one', :action => 'create') + '?'
Add Comment
Please, Sign In to add comment