fixing admin panel for rails 4