You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Genie.Renderer.Html
using SearchLight
#using WatchTonight.Movies <- Movies doesn't exist
#using Movies <- hail mary
include("app/resources/movies/Movies.jl") <- another hail mary
using .Movies
function index()
#html(:movies, :index, movies=rand(Movie))
"Hello"
end
end
The text was updated successfully, but these errors were encountered:
Same tutorial in two different locations.
This is completely broken: https://genieframework.com/docs/genie/tutorials/Developing-MVC-Web-Apps.html
This mostly works: https://genieframework.github.io/Genie.jl/dev/tutorials/4-1--Developing_MVC_Web_Apps.html
For 2) - in particular: https://genieframework.github.io/Genie.jl/dev/tutorials/4-1--Developing_MVC_Web_Apps.html#Setting-up-the-web-page. Just can't get MoviesController to work. "Movies doesn't exist in the WatchTonight" package. As soon as I try to open the web page - Genie goes down. I know Movies works because earlier in the tutorial I was able to create a movie.
module MoviesController
using Genie.Renderer.Html
using SearchLight
#using WatchTonight.Movies <- Movies doesn't exist
#using Movies <- hail mary
include("app/resources/movies/Movies.jl") <- another hail mary
using .Movies
function index()
#html(:movies, :index, movies=rand(Movie))
"Hello"
end
end
The text was updated successfully, but these errors were encountered: