X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9189093997610a8f289037d37b683c9fed060ae1..f75401ae29689d8081c2f047980a68be534ae436:/app/controllers/way_controller.rb diff --git a/app/controllers/way_controller.rb b/app/controllers/way_controller.rb index ec8f31003..fcff0fc45 100644 --- a/app/controllers/way_controller.rb +++ b/app/controllers/way_controller.rb @@ -10,7 +10,7 @@ class WayController < ApplicationController if way way.user_id = @user.id - unless way.precondtions_ok? # are the segments (and their nodes) visible? + unless way.preconditions_ok? # are the segments (and their nodes) visible? render :nothing => true, :status => 412 return end