阅读背景:

Is it bad practice to constantize parameters submitted through the browser?

来源:互联网 

I've got a single-table-inheritance setup where I have a single Controller (I felt having multiple would be duplicative). However, for some methods, I'd like to call into the subclasses of the models. I figured I could have the browser send a parameter that I'd write a case statement against. Something like:I've got a single-table-inheritance setup where




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: