Closed Illizian closed 9 years ago
How interesting. So there is some very interesting pluralization going on here.
Medium has two plurals—media (the Latin plural) and mediums. While there is some gray area between the plurals, they are kept separate in several contexts. Media is used in reference to mass communications, where media are newspapers, radio, the internet, and so on.
From: http://grammarist.com/usage/media-mediums/
So maybe it's sensing your using a plural media
and trying to use the singular medium
for the model? I'm not sure.
Hi,
I haven't investigated too much at this stage. I will try and find some time to take a look this evening.
Running this command:
$ php artisan generate:resource Media
The generator replaces Media with Medium for views & model:
this however doesn't occur using the model generator with the same name:
Very strange :)
Thanks