Skip to content
Browse files

Only load BrowserID JS on login page (for now)

  • Loading branch information...
1 parent 7338276 commit e886f6cea96cec39c48f250419d57e55b957d47d @hmans committed Mar 8, 2012
Showing with 2 additions and 1 deletion.
  1. +0 −1 lib/views/layout.haml
  2. +2 −0 lib/views/login.haml
View
1 lib/views/layout.haml
@@ -29,5 +29,4 @@
- if production? && config.gauges_id.present?
= partial 'gauges'
- %script{ :type => 'text/javascript', :src => '//browserid.org/include.js' }
%script{ :type => 'text/javascript', :src => "/assets/schnitzelpress.#{ASSET_TIMESTAMP}.js" }
View
2 lib/views/login.haml
@@ -15,3 +15,5 @@
%p
Since you're running Schnitzelpress in development mode, you can also use
the <a href="/auth/developer">development login provider</a>.
+
+%script{ :type => 'text/javascript', :src => '//browserid.org/include.js' }

0 comments on commit e886f6c

Please sign in to comment.
Something went wrong with that request. Please try again.