Skip to content

Commit

Permalink
fix routing issues by using proper rails path!
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Aug 24, 2023
1 parent 9e939d0 commit 8ce5c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/home/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ https://getbootstrap.com/docs/5.2/examples/navbars-offcanvas/# for example of of
var yourVlSpec = {
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"data": {
"url": "http://localhost:3000/analytics/sparkline/vega_data.csv",
"url": "<%= analytics_sparkline_vega_data_path format: :csv %>",
"name": "dataset",
"format": {"type": "csv"}
},
Expand Down

0 comments on commit 8ce5c3d

Please sign in to comment.