1
0
Fork 0

Always display passport map

This commit is contained in:
Alex Kotov 2018-12-03 04:00:18 +05:00
parent 7b17e0f9ca
commit a6aca9808b
No known key found for this signature in database
GPG key ID: 4E831250F47DE154

View file

@ -11,6 +11,7 @@ class PassportsController < ApplicationController
# GET /passports/:id
def show
authorize @passport
@passport.passport_maps.build if @passport.passport_map.nil?
end
# GET /passports/new