anhonigman1848/mhsbake — comment on commit 0ff048a5b627c44186f9ed8b6df5b96f46942d9d
File:  line 0
By sedan444:

A few more notes before I forget:

The problem at the remote site APPEARED to be that it was rejecting the NewspaperRecord and ArchiveRecord 'fake' controllers. What actually happened is that the links to BOTH pages were not properly formed. In both cases I mistakenly used newspaperrecord and archiverecord instead of newspaper_record and archive_record. Apparently, our local environments are more forgiving of this syntax error than is the remote site (possibly because of different PHP versions). This is something to keep in mind as we move forward.

If only one or the other link had been broken it would have been easy to spot what was going on, but since both were broken at the same time it was logical (though wrong) to think the problem was with the controllers. But the controllers were actually fine. While I like the idea of adding new methods to existing controllers much better than creating 'fake' controllers, the latter is still an option if we need it down the road.