File tree Expand file tree Collapse file tree 6 files changed +11
-19
lines changed Expand file tree Collapse file tree 6 files changed +11
-19
lines changed Original file line number Diff line number Diff line change 1
1
jQuery ->
2
- if $ (' .bsarocks' ).length > 0
3
- console .log (' Loading BSA' )
4
- e = document .createElement (' script' )
5
- e .type = ' text/javascript'
6
- e .async = ! 0
7
- e .src = document .location .protocol + ' //s3.buysellads.com/ac/bsa.js'
8
- (document .getElementsByTagName (' head' )[0 ] or document .getElementsByTagName (' body' )[0 ]).appendChild (e)
2
+ console .log (' Loading BSA' )
3
+ e = document .createElement (' script' )
4
+ e .type = ' text/javascript'
5
+ e .async = ! 0
6
+ e .src = document .location .protocol + ' //s3.buysellads.com/ac/bsa.js'
7
+ (document .getElementsByTagName (' head' )[0 ] or document .getElementsByTagName (' body' )[0 ]).appendChild (e)
9
8
10
9
11
10
$ (document ).on ' page:change' , ->
Original file line number Diff line number Diff line change 1
1
- title " FAQ"
2
2
3
- .container
3
+ .container.clearfix
4
4
%h1 FAQ
5
5
6
6
.clearfix.sm-col.sm-col-6
Original file line number Diff line number Diff line change 87
87
88
88
-if show_ads?
89
89
.clearfix.ml3.mt3
90
- #bsap_1305410.bsarocks.bsap_74f50e679004d8f4d62fec4b0f74ccf1
91
- -if Rails.env.development?
92
- %img{src: 'http://placehold.it/350x200'}
90
+ #bsap_1305410.bsarocks.bsap_74f50e679004d8f4d62fec4b0f74ccf1
Original file line number Diff line number Diff line change 115
115
116
116
-if show_ads?
117
117
.clearfix.ml3.mt3
118
- #bsap_1305410 .bsarocks.bsap_74f50e679004d8f4d62fec4b0f74ccf1
119
- -if Rails.env.development?
120
- %img {src: 'http://placehold.it/350x200'}
118
+ #bsap_1305410 .bsarocks.bsap_74f50e679004d8f4d62fec4b0f74ccf1
121
119
122
120
123
121
%script { src: "https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js" }
Original file line number Diff line number Diff line change 85
85
86
86
-if show_ads?
87
87
.clearfix.ml3.mt4
88
- -if Rails.env.production?
89
- #bsap_1305410.bsarocks.bsap_74f50e679004d8f4d62fec4b0f74ccf1
90
- -elsif Rails.env.development?
91
- %img{src: 'http://placehold.it/350x200'}
88
+ #bsap_1305410.bsarocks.bsap_74f50e679004d8f4d62fec4b0f74ccf1
92
89
93
90
= render 'chat'
Original file line number Diff line number Diff line change 20
20
get "/signin" => "clearance/sessions#new" , as : :sign_in
21
21
delete "/signout" => "clearance/sessions#destroy" , as : :sign_out
22
22
get "/signup" => "clearance/users#new" , as : :sign_up
23
- get 'faq' => 'pages#show' , page : 'faq' , as : :faq
23
+ get '/ faq' => 'pages#show' , page : 'faq' , as : :faq
24
24
get '/tos' => 'pages#show' , page : 'tos' , as : :tos
25
25
get '/privacy_policy' => 'pages#show' , page : 'privacy' , as : :privacy
26
26
get '/404' => "pages#show" , page : 'not_found'
You can’t perform that action at this time.
0 commit comments