Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #10553 (new enhancement)

Opened 10 months ago

Last modified 8 months ago

[PATCH] ssl_requirement :all -- to require ssl for all actions of that controller

Reported by: phallstrom Assigned to: core
Priority: normal Milestone: 2.x
Component: Plugins Version: edge
Severity: normal Keywords:
Cc:

Description

I got tired of specifying each action that I needed to be SSL'd so modified the plugin such that if you said:

ssl_require :all

It would take that to mean any and all actions defined in that controller.

Attachments

ssl_requirement.rb.patch (0.9 kB) - added by phallstrom on 12/18/07 19:05:21.
Patch to ssl_requirement/lib/ssl_requirement.rb
ssl_requirement1.patch (0.9 kB) - added by lawrence on 12/19/07 00:03:09.

Change History

12/18/07 19:05:21 changed by phallstrom

  • attachment ssl_requirement.rb.patch added.

Patch to ssl_requirement/lib/ssl_requirement.rb

12/19/07 00:03:09 changed by lawrence

  • attachment ssl_requirement1.patch added.

02/27/08 20:15:40 changed by phallstrom

  • summary changed from ssl_requirement :all -- to require ssl for all actions of that controller to [PATCH] ssl_requirement :all -- to require ssl for all actions of that controller.