开发者

How do I change what is rendered in a javascript called from a view?

I am calling the twitter widget from a file twitter_widget.js using this code:

=javascript_include_tag "twitter_widget"

In a view of a controller written in haml.

Eve开发者_Go百科rything is functioning but all the URLs are rendering with the contents of the href in parenthesis as can be seen in this screenshot:

http://i.stack.imgur.com/ELDrh.png

I've googled around, and I'm new to rails, so any help is greatly appreciated.


The problem was definitely bluprint.css. Once I disabled blueprint view rendered as expected.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜