Rename MappingsController to GeneralMappingsController.
Run rename refactor script.
Revert changes of app/assets/javascripts/repository_directories.js.coffee.