Skip to content

Commit

Permalink
Scope forum finds by site
Browse files Browse the repository at this point in the history
  • Loading branch information
courtenay committed Oct 9, 2008
1 parent 89fd2f2 commit e824d96
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/controllers/topics_controller.rb
Expand Up @@ -79,8 +79,7 @@ def destroy

protected
def find_forum
current_site
@forum = Forum.find_by_permalink(params[:forum_id])
@forum = current_site.forums.find_by_permalink(params[:forum_id])
end

def find_topic
Expand Down

0 comments on commit e824d96

Please sign in to comment.