Add 'only' to before_filter to make clearer, which actions are available
Simplified librariescontroller