Skip to content
Browse files

fixes : style, links, partial calls

  • Loading branch information...
1 parent c6d7c6a commit 6ef530f7f347e38a3d3418deba3bef999e45b0ac mcansky committed Feb 7, 2011
Showing with 7 additions and 3 deletions.
  1. +1 −1 app/views/application/_sidebar.haml
  2. +0 −2 app/views/groups/_group_short.haml
  3. +1 −0 config/routes.rb
  4. +5 −0 public/stylesheets/style.css
View
2 app/views/application/_sidebar.haml
@@ -19,7 +19,7 @@
%h4.sidebar
Groups
- = render "applications/sidebar_groups", :groups => current_user.groups
+ = render "application/sidebar_groups", :groups => current_user.groups
%div.side_bar_tags
%h4.sidebar
View
2 app/views/groups/_group_short.haml
@@ -4,8 +4,6 @@
- if (current_user && (group.owner == current_user))
= link_to 'e', {:controller => "groups", :action => "edit", :id => group.id}, {:class => "edit", :title => "edit"}
= link_to 'd!', group, {:confirm => "Deleting, You sure ?", :method => :delete, :title => "destroy"}
- - elsif (current_user && group.user != current_user)
- = link_to 'c', :controller => "posts", :action => "create", :id => post.id, :method => :post
%div.desc
= group.desc
View
1 config/routes.rb
@@ -22,6 +22,7 @@
# groups
resources :groups
+ match 'groups/join', :to => 'groups#join', :via => [:delete, :post]
# stats
match 'stats/', :to => 'stats#index', :via => :get
View
5 public/stylesheets/style.css
@@ -315,4 +315,9 @@ div.tags img {
#footer a {
color: #FFF;
font-family: 'Myriad Pro', Corbel, 'Helvetica Neue', Helvetica, 'Lucida Grande', Verdana, sans-serif;
+}
+
+#content h3,#content h2 {
+ margin-bottom: 5px;
+ margin-top: 5px;
}

0 comments on commit 6ef530f

Please sign in to comment.
Something went wrong with that request. Please try again.