From 761bafe37556e4aa1abcbd2001c4fe453b639282 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Fri, 18 Oct 2013 17:46:05 +1100 Subject: [PATCH] Rename text labeling from open food web to open food network --- app/controllers/application_controller.rb | 2 +- app/views/home/temp_landing_page.html.haml | 2 +- app/views/layouts/landing_page.html.haml | 2 +- spec/factories.rb | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 8d4cdba716..bc4993b790 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -7,7 +7,7 @@ class ApplicationController < ActionController::Base private def load_data_for_menu - @cms_site = Cms::Site.where(:identifier => 'open-food-web').first + @cms_site = Cms::Site.where(:identifier => 'open-food-network').first end # This is getting sloppy, since @all_distributors is also used for order cycle selection, diff --git a/app/views/home/temp_landing_page.html.haml b/app/views/home/temp_landing_page.html.haml index 519778fc89..b364dd6d48 100644 --- a/app/views/home/temp_landing_page.html.haml +++ b/app/views/home/temp_landing_page.html.haml @@ -4,7 +4,7 @@ %meta{charset: 'utf-8'}/ %meta{name: 'viewport', content: "width=device-width,initial-scale=1.0"}/ - %title Welcome to Open Food Web + %title Welcome to Open Food Network = favicon_link_tag "favicon.ico" = stylesheet_link_tag "search/all" = javascript_include_tag "search/all" diff --git a/app/views/layouts/landing_page.html.haml b/app/views/layouts/landing_page.html.haml index 6f2a2495b4..520dcc662d 100644 --- a/app/views/layouts/landing_page.html.haml +++ b/app/views/layouts/landing_page.html.haml @@ -4,7 +4,7 @@ %meta{charset: 'utf-8'}/ %meta{name: 'viewport', content: "width=device-width,initial-scale=1.0"}/ - %title= content_for?(:title) ? yield(:title) : 'Welcome to Open Food Web' + %title= content_for?(:title) ? yield(:title) : 'Welcome to Open Food Network' = favicon_link_tag "favicon.ico" = stylesheet_link_tag "search/all" = javascript_include_tag "search/all" diff --git a/spec/factories.rb b/spec/factories.rb index 15cbb56553..7e459a72b8 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -177,8 +177,8 @@ end # -- CMS FactoryGirl.define do factory :cms_site, :class => Cms::Site do - identifier 'open-food-web' - label 'Open Food Web' + identifier 'open-food-network' + label 'Open Food Network' hostname 'localhost' end