Always display passport map
This commit is contained in:
parent
7b17e0f9ca
commit
a6aca9808b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue