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
MVC Tutorials Are broken #628
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: