Generate UrlMappings from existing controllers and actions

  • Tags: url, urlmappings, generate
  • Latest: 0.1
  • Last Updated: 07 August 2010
  • Grails version: 1.3.3 > *
  • Authors: null
0 vote
Dependency:
compile ":url-mappings-generator:0.1"

 Documentation

Summary

Installation

to install:

grails install-plugin url-mappings-generator

to run:

grails generate-url-mappings

Description

This plugin reads given grails app's controllers and generates the UrlMappings.groovy file. I recently had a need for this when I wanted to remove default /$controller/$action/$id mapping and have a much tighter control over the urls that my grails app exposes.