                 view: @data.view
                 editable: true
 
+            @queries.show(queryView)
+
             if c.isSupported('2.2.0')
-                @publicQueryView = new @regionViews.queries
-                    collection: @data.public_queries
+                publicQueryView = new @regionViews.queries
+                    collection: @data.publicQueries
                     context: @data.context
                     view: @data.view
                     title: 'Public Queries'
                     emptyMessage: "There are no public queries. You can create a new, public query by navigating to the 'Results' page and clicking on the 'Save Query...' button. While filling out the query form, you can mark the query as public which will make it visible to all users and cause it to be listed here."
 
-        onRender: ->
-            @queries.show @queryView
-
-            if c.isSupported('2.2.0')
                 # When the queries are synced we need to manually update the
                 # public queries collection so that any changes to public
                 # queries are reflected there. Right now, this is done lazily

            if not (@data.view = @options.view)
                throw new Error 'view model required'

            @queryView = new @regionViews.queries
                editQueryRegion: @editQueryRegion
                deleteQueryRegion: @deleteQueryRegion
                collection: @data.queries

                # its publicity changed. If this becomes too slow we can
                # perform these checks but for now this is snappy enough.
                @data.queries.on 'sync destroy', (model, resp, options) =>
                    @data.publicQueries.fetch()

                # We explicitly set the editable option to false below because
                # users should not be able to edit the public queries
                # collection.
                @publicQueries.show(publicQueryView)

    { WorkspaceWorkflow }
