Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route-generating for escaped URLs fails #22

Closed
judofyr opened this issue Jun 2, 2010 · 1 comment
Closed

Route-generating for escaped URLs fails #22

judofyr opened this issue Jun 2, 2010 · 1 comment

Comments

@judofyr
Copy link
Member

judofyr commented Jun 2, 2010

Camping.goes :App

module App::Controllers
  class Styles < R '/style\.css'
  end

  class Index
    def get
      R(Styles)
    end
  end
end

This raises "bad route" on the latest version. Solution seems to add .gsub(/\\(.)/){$1} to Helpers#R. More information/patch coming later when I'm at my dev machine.

@judofyr
Copy link
Member Author

judofyr commented Jun 2, 2010

Closed by 56a886d

mrflip pushed a commit to whymirror/camping that referenced this issue Jul 11, 2011
mrflip pushed a commit to whymirror/camping that referenced this issue Jul 11, 2011
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant