Skip to content

Commit

Permalink
Allow REST objects to render a "new" form.
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelgg committed Oct 8, 2012
1 parent 2367d25 commit d3b9f61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/lib/social_stream/controllers/objects.rb
Expand Up @@ -8,9 +8,9 @@ module Objects

before_filter :set_author_ids, :only => [ :new, :create, :update ]

after_filter :increment_visit_count, :only => :show
after_filter :increment_visit_count, :only => :show

load_and_authorize_resource :except => [ :index, :search ]
load_and_authorize_resource :except => [ :new, :index, :search ]

respond_to :html, :js

Expand Down

0 comments on commit d3b9f61

Please sign in to comment.