Features/group statistics

The start of a statistics page for a given group.

I am trying to check that the contents of statistics.html.haml display in a browser window. Under "rake routes" I can see this:

group_statistics GET    /groups/:group_id/statistics(.:format)                        groups#statistics

I log in as one of my fake users and type something like this into the browser:

http://localhost:3000/groups/1/statistics

(Where 1 corresponds to a group that user belongs to)

I am getting an "access denied" notice on that user's page, and I get sent back to http://localhost:3000/.

Any thoughts?