pkemble / rails_logbook

0 stars 0 forks source link

save and start next flight not working #15

Open pkemble opened 8 years ago

pkemble commented 8 years ago

moved to enhancement - this works, but not in the best way - very weakly typed and should be looked at again in the future:

if params[:commit] == "Save and start next flight"

adding params: { commit_type: :next } to the button signature should work according to http://stackoverflow.com/questions/4886963/how-to-add-additional-params-to-a-button-to-form

pkemble commented 8 years ago

also in entries controller: if params[:commit] == "Create entry and add flights"