diff --git a/app/views/companies/index.html.erb b/app/views/companies/index.html.erb deleted file mode 100644 index 8d09448..0000000 --- a/app/views/companies/index.html.erb +++ /dev/null @@ -1,14 +0,0 @@ -

<%= notice %>

- -

Companies

- -
- <% @companies.each do |company| %> - <%= render company %> -

- <%= link_to "Show this company", company %> -

- <% end %> -
- -<%= link_to "New company", new_company_path %> diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb new file mode 100644 index 0000000..90fde0d --- /dev/null +++ b/app/views/home/index.html.erb @@ -0,0 +1,2 @@ +

CAF Compliance Tracking

+

By Hidden Agenda Ltd

diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 338a075..505543f 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -10,8 +10,8 @@ -

<%= notice %>

-

<%= alert %>

+ <% if notice %>

<%= notice %>

<% end %> + <% if alert %>

<%= alert %>

<% end %> <%= yield %>