From d1cdbac89ae3fc2a6720ec78964dcbce8c04b8fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tayfun=20O=CC=88zis=CC=A7=20ERI=CC=87KAN?=
Date: Sun, 17 Aug 2014 16:51:38 +0300
Subject: [PATCH] Article links were added
---
app/views/articles/index.html.erb | 6 +++++-
app/views/articles/new.html.erb | 4 +++-
app/views/articles/show.html.erb | 4 +++-
app/views/welcome/index.html.erb | 5 +++--
4 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/app/views/articles/index.html.erb b/app/views/articles/index.html.erb
index fa6e1fa..40a7a93 100644
--- a/app/views/articles/index.html.erb
+++ b/app/views/articles/index.html.erb
@@ -12,4 +12,8 @@
<%= article.text %> |
<% end %>
-
\ No newline at end of file
+
+
+
+ <%= link_to 'New article', new_article_path %>
+
diff --git a/app/views/articles/new.html.erb b/app/views/articles/new.html.erb
index 0901662..0bd47e8 100644
--- a/app/views/articles/new.html.erb
+++ b/app/views/articles/new.html.erb
@@ -14,4 +14,6 @@
<%= f.submit %>
-<% end %>
\ No newline at end of file
+<% end %>
+
+<%= link_to 'Back', articles_path %>
\ No newline at end of file
diff --git a/app/views/articles/show.html.erb b/app/views/articles/show.html.erb
index 7551020..7361686 100644
--- a/app/views/articles/show.html.erb
+++ b/app/views/articles/show.html.erb
@@ -8,4 +8,6 @@
Text:
<%= @article.text %>
-
\ No newline at end of file
+
+
+<%= link_to 'Back', articles_path %>
\ No newline at end of file
diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb
index 0a01a01..39b7e80 100644
--- a/app/views/welcome/index.html.erb
+++ b/app/views/welcome/index.html.erb
@@ -1,2 +1,3 @@
-Welcome#index
-Find me in app/views/welcome/index.html.erb
+Welcome our LYK2014 Blog
+
+<%= link_to 'LYK2014 Blog', controller: 'articles' %>