I’m using the following code to handle an error
unless user_can_view_group raise "User does not have permission to view group'" end
Which happily prevents users from viewing groups. But the error page
is rather ugly, and I’d like to pass the raise string to a view which
can give them a nicer looking error page. Is this possible?