diff --git a/app/views/shared/export/_plan.erb b/app/views/shared/export/_plan.erb index a17f464..e62522f 100644 --- a/app/views/shared/export/_plan.erb +++ b/app/views/shared/export/_plan.erb @@ -3,7 +3,6 @@ <%= @plan.title %> -<%= @formatting[:font_face] %> <%= render partial: '/shared/export/plan_styling' %> diff --git a/app/views/shared/export/_plan_styling.erb b/app/views/shared/export/_plan_styling.erb index e4fc253..f33b2c2 100644 --- a/app/views/shared/export/_plan_styling.erb +++ b/app/views/shared/export/_plan_styling.erb @@ -1,4 +1,4 @@ -<% font_size = is_integer?(@formatting[:font_size]) ? Integer(@formatting[:font_size]) : 10 %> +<% font_size = @formatting[:font_size].kind_of?(Integer) ? Integer(@formatting[:font_size]) : 10 %>