开发者

A random call for a style.css action, which doesn't exist - Why?

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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜