Welcome Guest, Not a member yet? Register   Sign In
Extend RESTController BaseModel?
#1

I'm trying to add a method to the BaseModel used with a ResourceController, but I keep getting an Internal Server Error; so now, I'm trying to figure out if this is at all possible since I've tried EVERYTHING I can think of to get this to work!
Now, can I at all fiddle with the Model for a ResourceController or am I barking up the wrong tree here?
I get that the 'automatic' methods of delete, update etc. are somehow 'automagically' linked to the ResourceController, and therefore I'm being suspicious about being able to modify it at all. Maybe I have to skip the ResourceController, and go the manual way ... which I'd find a little lame. As REST is somewhat wobbly defined ...
Reply




Theme © iAndrew 2016 - Forum software by © MyBB