Missing change in ContextController, that should be supplied with fix for Ticket #630 http://dev.rousette.org.uk/ticket/630

This commit is contained in:
Piotr Adamski 2008-12-17 17:15:04 +01:00
parent cc1531e11b
commit 0c5737e986

View file

@ -23,6 +23,7 @@ class ContextsController < ApplicationController
end
def show
@contexts = current_user.contexts(true)
if (@context.nil?)
respond_to do |format|
format.html { render :text => 'Context not found', :status => 404 }