Permalink
Browse files

Merge pull request #9595 from senny/remove_non_breaking_spaces

replace non-breaking spaces with normal spaces [ci skip]
  • Loading branch information...
rafaelfranca committed Mar 7, 2013
2 parents 7a32495 + 239f0d0 commit 7039fdd836e2f66741d47cdfa7fb863d532f0208
@@ -1,7 +1,7 @@
class CommentsController < ApplicationController
-  http_basic_authenticate_with name: "dhh", password: "secret", only: :destroy
-
+ http_basic_authenticate_with name: "dhh", password: "secret", only: :destroy
+
def create
@post = Post.find(params[:post_id])
@comment = @post.comments.create(params[:comment].permit(:commenter, :body))
@@ -1,7 +1,7 @@
class PostsController < ApplicationController
-  http_basic_authenticate_with name: "dhh", password: "secret", except: [:index, :show]
-
+ http_basic_authenticate_with name: "dhh", password: "secret", except: [:index, :show]
+
def index
@posts = Post.all
end

0 comments on commit 7039fdd

Please sign in to comment.