mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
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:
parent
cc1531e11b
commit
0c5737e986
1 changed files with 1 additions and 0 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue