merb_has_flash 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rake/gempackagetask'
3
3
 
4
4
  PLUGIN = "merb_has_flash"
5
5
  NAME = "merb_has_flash"
6
- VERSION = "0.0.1"
6
+ VERSION = "0.0.2"
7
7
  AUTHOR = "Michael Ivey"
8
8
  EMAIL = "ivey@gweezlebur.com"
9
9
  HOMEPAGE = "http://merb-plugins.rubyforge.org/merb_has_flash/"
@@ -11,7 +11,7 @@ module MerbHasFlash
11
11
  module InstanceMethods
12
12
  protected
13
13
  def sweep_flash
14
- flash.sweep if @_session
14
+ flash.sweep if request.session
15
15
  end
16
16
 
17
17
  # Access the contents of the flash. Use <tt>flash["notice"]</tt> to read a notice you put there or
@@ -1,7 +1,7 @@
1
1
  module MerbHasFlash
2
2
  module FlashHelperMixin
3
3
  def flash
4
- @web_controller.send :flash
4
+ @web_controller.flash
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: merb_has_flash
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.1
7
- date: 2007-10-27 00:00:00 -05:00
6
+ version: 0.0.2
7
+ date: 2007-11-26 00:00:00 -06:00
8
8
  summary: Merb plugin that provides a Rails-style flash
9
9
  require_paths:
10
10
  - lib