Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed .flash documentation examples #465

Merged
merged 1 commit into from Oct 4, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions support/reference/controllers.md
Expand Up @@ -370,7 +370,7 @@ this.flash.alert('Check it out!');
// Sets the 'alert' flash-message to 'Check it out!'

this.flash.alert();
// Returns 'This is fantastic!'
// Returns 'Check it out!'
```

* * *
Expand All @@ -393,7 +393,7 @@ this.flash.error('Yikes! Something wrong wrong.');
// Sets the 'error' flash-message to 'Yikes! Something wrong wrong.'

this.flash.error();
// Returns 'This is fantastic!'
// Returns 'Yikes! Something wrong wrong.'
```

* * *
Expand All @@ -416,7 +416,7 @@ this.flash.success('Whoa! It worked.');
// Sets the 'success' flash-message to 'Whoa! It worked.'

this.flash.success();
// Returns 'This is fantastic!'
// Returns 'Whoa! It worked.'
```

* * *
Expand All @@ -439,7 +439,7 @@ this.flash.info('FYI. Just sayin.');
// Sets the 'info' flash-message to 'FYI. Just sayin.'

this.flash.info();
// Returns 'This is fantastic!'
// Returns 'FYI. Just sayin.'
```

* * *
Expand Down