From 59b2dc33ea83d5d5a52a72d14213f564afe8f0ce Mon Sep 17 00:00:00 2001 From: DavisLWebb Date: Sun, 2 Mar 2014 15:04:26 -0500 Subject: Gemfile.lock --- app/controllers/users_controller.rb | 3 +++ app/views/layouts/application.html.erb | 25 ------------------------- 2 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 app/views/layouts/application.html.erb (limited to 'app') diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index ebcc3ac..f4e1499 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -3,4 +3,7 @@ class UsersController < ApplicationController def new end + def show + @user = User.find(param[:id]) + end end diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb deleted file mode 100644 index e2b8e02..0000000 --- a/app/views/layouts/application.html.erb +++ /dev/null @@ -1,25 +0,0 @@ - - - - Leaguer - <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> - <%= javascript_include_tag "application", "data-turbolinks-track" => true %> - <%= csrf_meta_tags %> - - -
-

Leaguer

- <%= form_tag("/search", method: "get", :id => "search-bar") do %> - <%= text_field_tag(:query, nil, :placeholder => "Search") %> - <%= submit_tag("Go") %> - <% end %> -
- -<%= yield %> - - - - - -- cgit v1.2.3-2-g168b