Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

Set @rack_env so custom actions can parse e.g. query string for additional options #15

Merged
merged 1 commit into from
Mar 30, 2012

Conversation

grosser
Copy link
Contributor

@grosser grosser commented Sep 10, 2011

No description provided.

@rogercampos
Copy link

+1 to this, I've done the same in my fork before realizing on this PL: rogercampos@2955a2e

@tleach
Copy link

tleach commented Feb 13, 2012

+1 This would definitely be useful.

For now I'm just overriding the MailView#call method in my Preview class:

  class Preview < MailView
    def call(env)
      @rack_env = env
      super(env)
    end
  end

jeremy added a commit that referenced this pull request Mar 30, 2012
Set @rack_env so custom actions can parse e.g. query string for additional options
@jeremy jeremy merged commit 5ff0a68 into basecamp:master Mar 30, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants