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

MVC Tutorials Are broken #628

Open
MontyTHall opened this issue Mar 5, 2023 · 2 comments
Open

MVC Tutorials Are broken #628

MontyTHall opened this issue Mar 5, 2023 · 2 comments
Assignees

Comments

@MontyTHall
Copy link

MontyTHall commented Mar 5, 2023

Same tutorial in two different locations.

  1. This is completely broken: https://genieframework.com/docs/genie/tutorials/Developing-MVC-Web-Apps.html

  2. 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

@essenciary
Copy link
Member

Can you share your current code?

@essenciary
Copy link
Member

@essenciary Update docs for v6 / fix for v5.

@essenciary essenciary added the v6 label Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants