Adapting plugin gerator to rails 4. route definition changed.