diff --git a/app/helpers/proposals_dashboard_helper.rb b/app/helpers/proposals_dashboard_helper.rb index adaa21a50..619308c01 100644 --- a/app/helpers/proposals_dashboard_helper.rb +++ b/app/helpers/proposals_dashboard_helper.rb @@ -48,7 +48,7 @@ module ProposalsDashboardHelper controller_name == "dashboard" && action_name == "new_request" && dashboard_action&.id == id end - def resoure_availability_label(resource) + def resource_availability_label(resource) label = [] label << t("dashboard.resource.required_days", diff --git a/app/views/dashboard/_resource.html.erb b/app/views/dashboard/_resource.html.erb index 3d5b322c6..c71f236d3 100644 --- a/app/views/dashboard/_resource.html.erb +++ b/app/views/dashboard/_resource.html.erb @@ -23,7 +23,7 @@ class: "button expanded" %> <% else %> - <%== resoure_availability_label(resource) %> + <%== resource_availability_label(resource) %> <% end %>