From ba4af914ca1b668dab4ff63e3151d33681bacac1 Mon Sep 17 00:00:00 2001 From: kacinash Date: Wed, 26 Aug 2015 14:11:35 -0500 Subject: [PATCH] confusing merge --- app/assets/stylesheets/hypertree.css | 2 +- .../{kinship_controller.rb => family_controller.rb} | 6 +++--- app/views/{kinship => family}/_carroll.html.erb | 0 app/views/{kinship => family}/_davis.html.erb | 0 app/views/{kinship => family}/_greenfield.html.erb | 0 app/views/{kinship => family}/_key.html.erb | 0 app/views/{kinship => family}/_lee.html.erb | 0 app/views/{kinship => family}/_queen.html.erb | 0 app/views/{kinship => family}/index.html.erb | 0 app/views/family/sub.html.erb | 10 ++++++++++ app/views/kinship/sub.html.erb | 10 ---------- app/views/layouts/application.html.erb | 2 +- app/views/people/network.html.erb | 2 +- app/views/static/index.html.erb | 2 +- app/views/stories/_queen_v_hepburn.html.erb | 4 ++-- app/views/stories/index.html.erb | 2 +- config/routes.rb | 6 +++--- docs/story_family_page.md | 4 ++-- 18 files changed, 25 insertions(+), 25 deletions(-) rename app/controllers/{kinship_controller.rb => family_controller.rb} (82%) rename app/views/{kinship => family}/_carroll.html.erb (100%) rename app/views/{kinship => family}/_davis.html.erb (100%) rename app/views/{kinship => family}/_greenfield.html.erb (100%) rename app/views/{kinship => family}/_key.html.erb (100%) rename app/views/{kinship => family}/_lee.html.erb (100%) rename app/views/{kinship => family}/_queen.html.erb (100%) rename app/views/{kinship => family}/index.html.erb (100%) create mode 100644 app/views/family/sub.html.erb delete mode 100644 app/views/kinship/sub.html.erb diff --git a/app/assets/stylesheets/hypertree.css b/app/assets/stylesheets/hypertree.css index 5f67997..fd0e942 100644 --- a/app/assets/stylesheets/hypertree.css +++ b/app/assets/stylesheets/hypertree.css @@ -188,7 +188,7 @@ h4 { } -#key ul li.rtype_kinship { +#key ul li.rtype_family { border-color: #a51400; } diff --git a/app/controllers/kinship_controller.rb b/app/controllers/family_controller.rb similarity index 82% rename from app/controllers/kinship_controller.rb rename to app/controllers/family_controller.rb index db66ac4..53bebc8 100644 --- a/app/controllers/kinship_controller.rb +++ b/app/controllers/family_controller.rb @@ -1,11 +1,11 @@ -class KinshipController < ApplicationController +class FamilyController < ApplicationController def index - @page_class = "kinship" + @page_class = "family" end def sub - @page_class = "kinship" + @page_class = "family" # in the URL there will be an ID # either a number or a string # and that will determine which template to diff --git a/app/views/kinship/_carroll.html.erb b/app/views/family/_carroll.html.erb similarity index 100% rename from app/views/kinship/_carroll.html.erb rename to app/views/family/_carroll.html.erb diff --git a/app/views/kinship/_davis.html.erb b/app/views/family/_davis.html.erb similarity index 100% rename from app/views/kinship/_davis.html.erb rename to app/views/family/_davis.html.erb diff --git a/app/views/kinship/_greenfield.html.erb b/app/views/family/_greenfield.html.erb similarity index 100% rename from app/views/kinship/_greenfield.html.erb rename to app/views/family/_greenfield.html.erb diff --git a/app/views/kinship/_key.html.erb b/app/views/family/_key.html.erb similarity index 100% rename from app/views/kinship/_key.html.erb rename to app/views/family/_key.html.erb diff --git a/app/views/kinship/_lee.html.erb b/app/views/family/_lee.html.erb similarity index 100% rename from app/views/kinship/_lee.html.erb rename to app/views/family/_lee.html.erb diff --git a/app/views/kinship/_queen.html.erb b/app/views/family/_queen.html.erb similarity index 100% rename from app/views/kinship/_queen.html.erb rename to app/views/family/_queen.html.erb diff --git a/app/views/kinship/index.html.erb b/app/views/family/index.html.erb similarity index 100% rename from app/views/kinship/index.html.erb rename to app/views/family/index.html.erb diff --git a/app/views/family/sub.html.erb b/app/views/family/sub.html.erb new file mode 100644 index 0000000..8fb1a3f --- /dev/null +++ b/app/views/family/sub.html.erb @@ -0,0 +1,10 @@ + + + + + +<%= render @sub_name %> + + diff --git a/app/views/kinship/sub.html.erb b/app/views/kinship/sub.html.erb deleted file mode 100644 index b2547b6..0000000 --- a/app/views/kinship/sub.html.erb +++ /dev/null @@ -1,10 +0,0 @@ - - - - - -<%= render @sub_name %> - - diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 2b04dda..53cb635 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -58,7 +58,7 @@