aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code/getting_started/app/controllers/posts_controller.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-03-07 07:47:25 -0800
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-03-07 07:47:25 -0800
commit7039fdd836e2f66741d47cdfa7fb863d532f0208 (patch)
tree6382ff79e2af1b555eaf1a34066a34d44d44c421 /guides/code/getting_started/app/controllers/posts_controller.rb
parent7a32495e60c7480351d6b87b1c168f18b016e3ec (diff)
parent239f0d0ffd2ff6bbf51b4242c5069904a58d1030 (diff)
downloadrails-7039fdd836e2f66741d47cdfa7fb863d532f0208.tar.gz
rails-7039fdd836e2f66741d47cdfa7fb863d532f0208.tar.bz2
rails-7039fdd836e2f66741d47cdfa7fb863d532f0208.zip
Merge pull request #9595 from senny/remove_non_breaking_spaces
replace non-breaking spaces with normal spaces [ci skip]
Diffstat (limited to 'guides/code/getting_started/app/controllers/posts_controller.rb')
-rw-r--r--guides/code/getting_started/app/controllers/posts_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/code/getting_started/app/controllers/posts_controller.rb b/guides/code/getting_started/app/controllers/posts_controller.rb
index 0398395200..6aa1409170 100644
--- a/guides/code/getting_started/app/controllers/posts_controller.rb
+++ b/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