Permalink
Browse files

made html default response

  • Loading branch information...
1 parent b90a48c commit 6f65620ef1a519fffac9ad68827fc476edcfb6b6 @kmkr committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/articles_controller.rb
@@ -1,6 +1,6 @@
class ArticlesController < ApplicationController
- respond_to :json
respond_to :html, :only => :show
+ respond_to :json
before_filter :authenticate_user!, :except => [ :index, :show ]
def index

0 comments on commit 6f65620

Please sign in to comment.