Skip to content
Browse files

replace non-breaking spaces with normal spaces [ci skip]

  • Loading branch information...
1 parent 173e0e0 commit 239f0d0ffd2ff6bbf51b4242c5069904a58d1030 @senny senny committed Mar 7, 2013
View
4 guides/code/getting_started/app/controllers/comments_controller.rb
@@ -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))
View
4 guides/code/getting_started/app/controllers/posts_controller.rb
@@ -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 239f0d0

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