diff --git a/Gemfile.lock b/Gemfile.lock index fd378f2..559ef3f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -79,7 +79,7 @@ GEM paperclip (2.3.8) activerecord activesupport - pg (0.10.0) + pg (0.11.0) polyglot (0.3.1) rack (1.2.1) rack-mount (0.6.13) diff --git a/app/views/contacts/index.html.erb b/app/views/contacts/index.html.erb index 9f7d70b..e2f349d 100644 --- a/app/views/contacts/index.html.erb +++ b/app/views/contacts/index.html.erb @@ -1,5 +1,5 @@
- <%= link_to raw('about'), about_url %> + <%= link_to raw('about'), about_path %>
<%= link_to raw('portfolio'), :controller => 'categories' %> diff --git a/app/views/contacts/new.html.erb b/app/views/contacts/new.html.erb index 0526cc3..c42a906 100644 --- a/app/views/contacts/new.html.erb +++ b/app/views/contacts/new.html.erb @@ -1,5 +1,5 @@
- <%= link_to raw('about'), about_url %> + <%= link_to raw('about'), about_path %>
<%= link_to raw('portfolio'), :controller => 'categories' %> diff --git a/app/views/pages/about.html.erb b/app/views/pages/about.html.erb index 67402ea..b5d65d8 100644 --- a/app/views/pages/about.html.erb +++ b/app/views/pages/about.html.erb @@ -23,7 +23,7 @@
- <%= link_to raw('contact'), new_contact_url %> + <%= link_to raw('contact'), new_contact_path %>
diff --git a/app/views/pages/index.html.erb b/app/views/pages/index.html.erb index 292e743..3a99d44 100644 --- a/app/views/pages/index.html.erb +++ b/app/views/pages/index.html.erb @@ -1,5 +1,5 @@
- <%= link_to raw('about'), about_url %> + <%= link_to raw('about'), about_path %>
<%= link_to raw('portfolio'), :controller => 'categories' %> @@ -17,5 +17,5 @@
- <%= link_to raw('contact'), new_contact_url %> + <%= link_to raw('contact'), new_contact_path %>
diff --git a/app/views/photos/index.html.erb b/app/views/photos/index.html.erb index 9647f47..fc39033 100644 --- a/app/views/photos/index.html.erb +++ b/app/views/photos/index.html.erb @@ -14,7 +14,7 @@ <% if @category %>
- <%= link_to raw('

'+h(@category.name.downcase)+'

'), categories_url %> + <%= link_to raw('

'+h(@category.name.downcase)+'

'), categories_path %>
<% else %>