Skip to content

Commit

Permalink
Want to start people page. where user details exists. No idea what is…
Browse files Browse the repository at this point in the history
… the best approch. But adding a page here.
  • Loading branch information
arunagw committed Jul 31, 2011
1 parent da39dad commit 964ee25
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 12 additions & 0 deletions 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>
4 changes: 1 addition & 3 deletions config/routes.rb
Expand Up @@ -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.