Permalink
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...
1 parent da39dad commit 964ee255d1e173470fd578c1bda047d4ef9b53d7 @arunagw arunagw committed Jul 31, 2011
Showing with 13 additions and 3 deletions.
  1. +12 −0 app/views/pages/people.html.erb
  2. +1 −3 config/routes.rb
@@ -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
@@ -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

0 comments on commit 964ee25

Please sign in to comment.