refactored generation routes code
refactored generation routes code

redkite-labs/RedKiteCmsBundle,redkite-labs/RedKiteCmsBundle,redkite-labs/RedKiteCmsBundle,redkite-labs/RedKiteCmsBundle,redkite-labs/RedKiteCmsBundle