Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
15 lines (11 sloc) 558 Bytes
package skinny.controller
import skinny.TypeConverter
import skinny.micro.implicits.TypeConverters
/**
* Skinny resource is a DRY module to implement ROA(Resource-oriented architecture) apps.
* SkinnyResource is surely inspired by Rails ActiveSupport.
*/
trait SkinnyResource extends SkinnyResourceWithId[Long] {
implicit override val skinnyMicroParamsIdTypeConverter: TypeConverter[String, Long] = TypeConverters.stringToLong
}
trait SkinnyResourceWithId[Id] extends SkinnyController with SkinnyResourceActions[Id] with SkinnyResourceRoutes[Id]
You can’t perform that action at this time.