diff --git a/Gemfile.lock b/Gemfile.lock index 409b3c4..cfa5f23 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -160,7 +160,7 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - regexp_parser (2.11.1) + regexp_parser (2.11.2) rspec-core (3.13.5) rspec-support (~> 3.13.0) rspec-expectations (3.13.5) diff --git a/app/views/application/date.html.erb b/app/views/application/date.html.erb index e69de29..2ccbdfa 100644 --- a/app/views/application/date.html.erb +++ b/app/views/application/date.html.erb @@ -0,0 +1,3 @@ +

Today

+ +

The date is <%= DateTime.now.strftime("%A, %B %d, %Y") %>.

diff --git a/app/views/application/goodbye.html.erb b/app/views/application/goodbye.html.erb index e69de29..c70cc88 100644 --- a/app/views/application/goodbye.html.erb +++ b/app/views/application/goodbye.html.erb @@ -0,0 +1,2 @@ +<% name = "Joe"%> +

Goodbye <%= name %>

diff --git a/app/views/application/hello.html.erb b/app/views/application/hello.html.erb index e69de29..f3e333e 100644 --- a/app/views/application/hello.html.erb +++ b/app/views/application/hello.html.erb @@ -0,0 +1 @@ +

Hello World

diff --git a/app/views/application/index.html.erb b/app/views/application/index.html.erb index e69de29..5945304 100644 --- a/app/views/application/index.html.erb +++ b/app/views/application/index.html.erb @@ -0,0 +1 @@ +

Rails Views Lab