mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 16:14:25 +03:00
4066d8c680
- Settings fixture that doesn't seem to work - SettingsGeneralRoute with model function calling api - SettingsGeneralModel with save method stubbed - SettingsGeneralController with actions for save, uploadLogo and uploadCover - Let ApplicationRoute handleValidationErrors - Fix actions hash in controller and use bind-attr - Refactor to use single SettingsModel - Implement description word count - Fix broken ajax reference by actually importing ajax method - Refactor to use count-words helper - Refactor isDatedPermalinks into controller - Refactor the isDatedPermalinks to use a custom setter - Remove isDatedPermalinks code from the model
10 lines
266 B
JavaScript
10 lines
266 B
JavaScript
import AuthenticatedRoute from 'ghost/routes/authenticated';
|
|
|
|
var SettingsIndexRoute = AuthenticatedRoute.extend({
|
|
// redirect to general tab
|
|
redirect: function () {
|
|
this.transitionTo('settings.general');
|
|
}
|
|
});
|
|
|
|
export default SettingsIndexRoute; |