Resolved !
Into the %head section, instead of the haml code
= stylesheet_link_tag :all
which produce html code like
<link href="/stylesheets/ie.css?1303247494" media="screen"
rel="stylesheet" type="text/css" />
<link href="/stylesheets/print.css?1303247494" media="screen"
rel="stylesheet" type="text/css" />
<link href="/stylesheets/screen.css?1303163896" media="screen"
rel="stylesheet" type="text/css" />
just use
= stylesheet_link_tag 'screen.css', :media => 'screen, projection'
= stylesheet_link_tag 'print.css', :media => 'print'
which give back
<link href="/stylesheets/screen.css?1303330822" media="screen,
projection" rel="stylesheet" type="text/css" />
<link href="/stylesheets/print.css?1303330822" media="print"
rel="stylesheet" type="text/css" />
... and the link will be clean again.
Cheers
Luca
On Apr 17, 9:59 pm, lgs <[email protected]> wrote:
> Hi,
>
> on my rails3 app file app/views/layouts/application.html.haml, I've
> got the following simple haml code:
> ...
> #login
> - if current_user
> Welcome, #{current_user.name}!
> #{link_to "Sign Out", signout_path}
> - else
> = link_to "Sign in with Github", "/auth/github"
> ...
>
> without any css, it display the "Sign in with Github" link to "http://
> my-site/auth/github" and it's fine but
> as soon I install Blueprint CSS (running "ruby compress.rb"), the
> displayed link became "Sign in with Github (/auth/github)" and I
> cannot find the way to hide the "(/auth/github)" part of the link.
>
> Does anybody know how?
> Thanks in advance
> luca
--
You received this message because you are subscribed to the Google Groups
"Blueprint CSS" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/blueprintcss?hl=en.