My error logger has logged an error recently that just boggles me.
Here's a copy'n paste of the error:
A public action method 'style.css' could not be found on controller 'ProductController'.
So I ran a search over the entire solution for references to style.css.开发者_运维问答 There are none, and I have no stylesheet named style.css.
The calls are happening on a legitimate users logged in session even. W.T.H?
It seems to me that there's a route mapped in a way that's "catching" '/style.css'.
Used Firebug to find the call... it was coming from a jQuery plugin. Resolved by setting the stylesheet name in the plugin options.
Thanks everyone!
精彩评论