0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/app/views/settings/content-base.js
2015-05-22 19:02:06 +01:00

13 lines
458 B
JavaScript

import MobileContentView from 'ghost/views/mobile/content-view';
/**
* All settings views other than the index should inherit from this base class.
* It ensures that the correct screen is showing when a mobile user navigates
* to a `settings.someRouteThatIsntIndex` route.
*/
var SettingsContentBaseView = MobileContentView.extend({
tagName: 'section',
classNames: ['gh-view', 'js-settings-content']
});
export default SettingsContentBaseView;