Sha256: dcd16ae56b6f8de8d2f696a96d9f4b3ba5818fca74b962af8ed0621e5b344b14
Contents?: true
Size: 627 Bytes
Versions: 3
Compression:
Stored size: 627 Bytes
Contents
package <%= places_package %>; import <%= gwt_rails_package %>.places.RestfulPlaceTokenizer; public class <%= class_name %>PlaceTokenizer extends RestfulPlaceTokenizer<<%= class_name %>Place> { public <%= class_name %>Place getPlace(String token) { <% if options[:singleton] -%> return new <%= class_name %>Place(toSingletonToken(token).action); <% else -%> Token t = toToken(token); if(t.identifier == null){ return new <%= class_name %>Place(t.action); } else { return new <%= class_name %>Place(t.identifier, t.action); } <% end -%> } }
Version data entries
3 entries across 3 versions & 1 rubygems