Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Want to start people page. where user details exists. No idea what is…

… the best approch. But adding a page here.
  • Loading branch information...
commit 964ee255d1e173470fd578c1bda047d4ef9b53d7 1 parent da39dad
@arunagw arunagw authored
Showing with 13 additions and 3 deletions.
  1. +12 −0 app/views/pages/people.html.erb
  2. +1 −3 config/routes.rb
View
12 app/views/pages/people.html.erb
@@ -0,0 +1,12 @@
+<section class='thin column'>
+ <% 10.times do |i|%>
+ <article>
+ <header><h2>Foo User <%= i%></h2></header>
+ <p>Bar Details</p>
+ <p>Bar Details</p>
+ <p>Bar Details</p>
+ <p>Bar Details</p>
+ <p>Bar Details</p>
+ </article>
+ <%end%>
+</section>
View
4 config/routes.rb
@@ -6,7 +6,5 @@
root :to => 'high_voltage/pages#show', :id => 'home'
get '/hackfests' => 'high_voltage/pages#show', :id => 'hackfests', :as => 'hackfests'
get '/calendar' => 'high_voltage/pages#show', :id => 'calendar', :as => 'calendar'
-# resources :presentations, :only => [:index, :show]
-# get '/presenters/leaders' => 'leader_board#index'
-# resources :presenters, :only => [:show]
+ get '/people' => 'high_voltage/pages#show', :id => 'people', :as => 'people'
end
Please sign in to comment.
Something went wrong with that request. Please try again.