From 61141c750868f958c7f8b295da6185b7d83f24c4 Mon Sep 17 00:00:00 2001 From: Boris <30473641+BorisJov@users.noreply.github.com> Date: Fri, 4 Aug 2017 18:03:21 +0200 Subject: [PATCH] Commit 3. - Finished I1 of tutorial --- .idea/workspace.xml | 135 +++++++++++++++++++++---- app/controllers/articles_controller.rb | 32 ++++++ app/helpers/articles_helper.rb | 5 + app/views/articles/_form.html.erb | 18 ++++ app/views/articles/edit.html.erb | 2 + app/views/articles/new.html.erb | 2 + app/views/articles/show.html.erb | 5 +- app/views/layouts/application.html.erb | 4 +- config/routes.rb | 1 + 9 files changed, 181 insertions(+), 23 deletions(-) create mode 100644 app/views/articles/_form.html.erb create mode 100644 app/views/articles/edit.html.erb create mode 100644 app/views/articles/new.html.erb diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d6ec7e0..fbd1d0b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,7 +4,10 @@ - + + + + @@ -26,18 +29,38 @@ - - + + - + + + + + + + + + + + + + + + + + + + + + - - + + @@ -52,10 +75,15 @@ @@ -71,6 +99,9 @@