Prod build process
This commit is contained in:
@@ -5,6 +5,7 @@ module IdCard
|
||||
|
||||
def self.permitted_params(params)
|
||||
params.require(:id_card_setup).require(:provider_section).permit(
|
||||
:title,
|
||||
:provider_line_1,
|
||||
:provider_line_2,
|
||||
:provider_line_3,
|
||||
@@ -30,7 +31,15 @@ module IdCard
|
||||
:claim_to_11,
|
||||
:claim_to_12
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
def display_title
|
||||
if self.default
|
||||
"Default #{self.title}"
|
||||
else
|
||||
self.title
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user