Commit 3097e5b5 by Đường Sỹ Hoàng

Removed unuse file

parent 123f77ee
......@@ -9,7 +9,11 @@ class UsersController < ApplicationController
def show
@user = User.find(params[:id])
<<<<<<< HEAD
redirect_to root_url and return unless @user.activated
=======
redirect_to root_url and return unless @user.activated
>>>>>>> Removed unuse file
@microposts = @user.microposts.paginate(page: params[:page])
end
......
......@@ -5,7 +5,6 @@ class Micropost < ApplicationRecord
belongs_to :user
validates :user_id, presence: true
validates :content, presence: true, length: { maximum: 140 }
validate :picture_size
......
......@@ -5,10 +5,17 @@
<div class="row">
<div class="col-md-6 col-md-offset-3">
<<<<<<< HEAD
<%= render "form" %>
<div class="gravatar_edit">
<%= gravatar_for @user %>
<a href="http://gravatar.com/emails">change</a>
=======
<%= render "form" %>
<div class="gravatar_edit">
<%= gravatar_for @user %>
<a href="http://gravatar.com/emails">change</a>
>>>>>>> Removed unuse file
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment