Skip to content

Commit

Permalink
[padrino-core] Use Rack::Flash as Rails do
Browse files Browse the repository at this point in the history
  • Loading branch information
DAddYE committed May 22, 2011
1 parent 3bab575 commit d433e19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rdoc
Expand Up @@ -22,7 +22,8 @@
* Added a new method to load custom app dependencies
* Added a new format helper 'truncate_words' [Thanks cearls!]
* Fixes support for local vars passing in render
* Rake 0.9 compat
* Rake 0.9 and 0.8.7 compat
* Use Rack::Flash as Rails do

== 0.9.28

Expand Down
2 changes: 1 addition & 1 deletion padrino-core/lib/padrino-core/application.rb
Expand Up @@ -207,7 +207,7 @@ def register_initializers
use Padrino::ShowExceptions if show_exceptions?
use Padrino::Logger::Rack, uri_root if Padrino.logger && logging?
use Padrino::Reloader::Rack if reload?
use Rack::Flash if flash?
use Rack::Flash, :sweep => true if flash?
end

##
Expand Down

0 comments on commit d433e19

Please sign in to comment.