-
Notifications
You must be signed in to change notification settings - Fork 3
383737 - Make moves require a MovesProjectStep #401
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
383737 - Make moves require a MovesProjectStep #401
Conversation
0c7b276
to
51f202d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
L'affichage de la baie ne fonctionne pas quand on créé un déplacement.
J'ai l'erreur suivante dans les logs :
web | ActiveRecord::RecordNotFound (Couldn't find Server without an ID):
web |
web | app/controllers/moves_controller.rb:92:in 'MovesController#load_server'
web | config/initializers/fix_headers_middleware.rb:12:in 'FixHeadersMiddleware#call'
config/routes.rb
Outdated
get :load_connection | ||
get "/frames/:frame_id", to: "moves#frame", as: :frame | ||
get "/print/:frame_id", to: "moves#print", as: :print | ||
match 'update_connection', to: 'moves#update_connection', via: %i[patch post put] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
match 'update_connection', to: 'moves#update_connection', via: %i[patch post put] | |
match "update_connection", to: "moves#update_connection", via: %i[patch post put] |
app/views/moves/_form.html.erb
Outdated
@@ -121,7 +122,7 @@ function select_frame(frame_id, view){ | |||
console.log("Selected frame : " + JSON.stringify(frame_id)); | |||
$.ajax({ | |||
method: "GET", | |||
url: "<%= load_frame_moves_path %>", | |||
url: "<%= load_server_moves_project_step_moves_path(moves_project_step) %>", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
url: "<%= load_server_moves_project_step_moves_path(moves_project_step) %>", | |
url: "<%= load_frame_moves_project_step_moves_path(moves_project_step) %>", |
Not sure to understand how to reproduce this |
No description provided.