Commit 04bc72b8 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Rename welcome view and controller.

Now the welcome part follows the naming convention of the other parts of the app.
There's a Welcome controller and a welcome.Index view.
parent 4b3f65f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ Ext.define('Docs.Application', {
    ],

    controllers: [
        'Index',
        'Welcome',
        'Content',
        'Classes',
        'Search',
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ Ext.define("Docs.History", {
            Docs.App.getController('Examples').loadExample(url.url, true);
        }
        else {
            Docs.App.getController('Index').loadIndex(true);
            Docs.App.getController('Welcome').loadIndex(true);
        }
    },

+1 −1
Original line number Diff line number Diff line
/**
 * Base class for Classes controller.
 * Base class for all controllers that deal with showing content.
 */
Ext.define('Docs.controller.Content', {
    extend: 'Ext.app.Controller',
+1 −1
Original line number Diff line number Diff line
/**
 * Controller for Welcome page
 */
Ext.define('Docs.controller.Index', {
Ext.define('Docs.controller.Welcome', {
    extend: 'Docs.controller.Content',

    refs: [
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ Ext.define('Docs.view.Viewport', {
        'Docs.view.search.Container',
        'Docs.view.Tabs',
        'Docs.view.TreeContainer',
        'Docs.view.index.Welcome',
        'Docs.view.welcome.Index',
        'Docs.view.cls.Index',
        'Docs.view.cls.Container',
        'Docs.view.guides.Index',
Loading