Sha256: c58a5e03afb49e59f1976031704c3b605b429497235d620cf8de8179ab2fafa8

Contents?: true

Size: 232 Bytes

Versions: 1

Compression:

Stored size: 232 Bytes

Contents

module WithPopup
  module Controllers
    module ActionController
      def close_popup
        session[:_with_popup] = :close
      end

      def reload_popup(path)
        session[:_with_popup] = path
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
with_popup-0.1.0 lib/with_popup/controllers/action_controller.rb