Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wiki page erroring #2803

Closed
jywarren opened this issue Jun 9, 2018 · 5 comments · Fixed by #2806
Closed

wiki page erroring #2803

jywarren opened this issue Jun 9, 2018 · 5 comments · Fixed by #2806
Assignees

Comments

@jywarren
Copy link
Member

jywarren commented Jun 9, 2018

https://publiclab.org/wiki/sandbox shows an error...

This route should work!

https://github.com/publiclab/plots2/blob/master/config/routes.rb#L93

@jywarren
Copy link
Member Author

jywarren commented Jun 9, 2018

@jywarren
Copy link
Member Author

jywarren commented Jun 9, 2018

Log!

[af76bf5d-fd8d-41d6-9706-d25b6b82e736] Completed 500 Internal Server Error in 2108ms (ActiveRecord: 658.3ms)  
[af76bf5d-fd8d-41d6-9706-d25b6b82e736]  
[af76bf5d-fd8d-41d6-9706-d25b6b82e736] ActionView::Template::Error (Asset was not declared to be precompiled in production.  
[af76bf5d-fd8d-41d6-9706-d25b6b82e736]     23:     <%= stylesheet_link_tag "application", :media => "all" %>  
[af76bf5d-fd8d-41d6-9706-d25b6b82e736]     24:     <link href="/lib/fontawesome/css/font-awesome.min.css" media="all" rel="stylesheet" type="text/css" />  
[af76bf5d-fd8d-41d6-9706-d25b6b82e736]     25:     <% if @node && @node.has_tag('style:fancy') %>  
[af76bf5d-fd8d-41d6-9706-d25b6b82e736]     26:       <%= stylesheet_link_tag "fancy", :media => "all" %>  
[af76bf5d-fd8d-41d6-9706-d25b6b82e736]     27:     <% end %>  
[af76bf5d-fd8d-41d6-9706-d25b6b82e736]     28:     <%= stylesheet_link_tag "print", :media => "print" %>  
[af76bf5d-fd8d-41d6-9706-d25b6b82e736]     29:  
[af76bf5d-fd8d-41d6-9706-d25b6b82e736]  
[af76bf5d-fd8d-41d6-9706-d25b6b82e736] app/views/layouts/application.html.erb:26:in `_app_views_layouts_application_html_erb__2124394768800875434_51683440'  

@jywarren
Copy link
Member Author

jywarren commented Jun 9, 2018

It's the fancy stylesheet!

26: <%= stylesheet_link_tag "fancy", :media => "all" %>

@jywarren
Copy link
Member Author

jywarren commented Jun 9, 2018

Are stylesheets not included in application.js not included? Let's see -- I think it may have to be included into:

https://github.com/publiclab/plots2/blob/master/config/initializers/assets.rb

@jywarren
Copy link
Member Author

jywarren commented Jun 9, 2018

PR coming

@ghost ghost assigned jywarren Jun 9, 2018
@ghost ghost added the in progress label Jun 9, 2018
@ghost ghost removed the in progress label Jun 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant