Skip to content

Commit

Permalink
heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
idanyzheng committed Aug 6, 2013
1 parent 8f66f42 commit 050c815
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions danny/microblog_app/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

source 'http://ruby.taobao.org'
# source 'https://rubygems.org'
# source 'http://ruby.taobao.org'
source 'https://rubygems.org'

ruby '2.0.0'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
Expand Down
4 changes: 2 additions & 2 deletions danny/microblog_app/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Ruby on Rails Tutorial: Microblog application
#Ruby on Rails Tutorial

##chapter 3
http://safe-plateau-5354.herokuapp.com
2 changes: 0 additions & 2 deletions danny/microblog_app/app/views/users/follow_all.js.erb
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
$("#follow_form").html("<%= escape_javascript(render('users/unfollow')) %>")
$("#fans").html('<%= @user.fans.count %>')
2 changes: 1 addition & 1 deletion danny/microblog_app/app/views/users/show_follow.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<h3><%= @title %></h3>
</div>
<% if @users.any? %>
<%= render 'show_follow_all' %>
<%= render 'show_follow_all' if @title =="Fans" || !current_user? @user %>
<ul class="users">
<%= render @users %>
</ul>
Expand Down

1 comment on commit 050c815

@hlee
Copy link
Member

@hlee hlee commented on 050c815 Aug 10, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Please sign in to comment.