diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index 785f20320..5a87096e0 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -4,9 +4,7 @@ class CommentsController < ApplicationController def create target = Post.first(:id => params[:comment][:post_id]) text = params[:comment][:text] - puts params.inspect - - + if current_user.comment text, :on => target render :text => "Woo!" else diff --git a/app/controllers/requests_controller.rb b/app/controllers/requests_controller.rb index 01ad93456..39f9c8376 100644 --- a/app/controllers/requests_controller.rb +++ b/app/controllers/requests_controller.rb @@ -27,7 +27,6 @@ class RequestsController < ApplicationController def create rel_hash = relationship_flow(params[:request][:destination_url]) Rails.logger.info("Sending request: #{rel_hash}") - puts rel_hash @request = current_user.send_request(rel_hash) if @request diff --git a/app/controllers/sockets_controller.rb b/app/controllers/sockets_controller.rb index 67ffc7dc8..e25472d52 100644 --- a/app/controllers/sockets_controller.rb +++ b/app/controllers/sockets_controller.rb @@ -14,7 +14,6 @@ class SocketsController < ApplicationController def outgoing(object) @_request = ActionDispatch::Request.new({}) - puts action_hash(object) WebSocket.push_to_clients(action_hash(object)) end diff --git a/app/models/user.rb b/app/models/user.rb index 7056ac695..bd8dcdc52 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -94,7 +94,6 @@ class User < Person def send_request(rel_hash) - puts rel_hash.inspect if rel_hash[:friend] self.send_friend_request_to(rel_hash[:friend]) elsif rel_hash[:subscribe] diff --git a/app/views/dashboards/index.html.haml b/app/views/dashboards/index.html.haml index eab45ae35..d205590e3 100644 --- a/app/views/dashboards/index.html.haml +++ b/app/views/dashboards/index.html.haml @@ -5,7 +5,6 @@ %h3= my_latest_message = render "shared/publisher" %ul#stream - = puts @posts.inspect - for post in @posts = render type_partial(post), :post => post #pagination