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

Dynamically configure template path #25

Open
dblock opened this issue Apr 21, 2014 · 4 comments
Open

Dynamically configure template path #25

dblock opened this issue Apr 21, 2014 · 4 comments

Comments

@dblock
Copy link
Member

dblock commented Apr 21, 2014

I would like to be able to

Grape::Rabl.configure do |config|
  config.tilt_root = -> { "#{env['api.version']}/..." }
end

See #24.

@florrain
Copy link

florrain commented Mar 1, 2015

Hey! What's the status of this?

@dblock
Copy link
Member Author

dblock commented Mar 1, 2015

Nobody is working on it, please feel free to submit a PR.

@florrain
Copy link

florrain commented Mar 1, 2015

Alright! You have it then. I'll probably propose something here first after looking at the code.

@u2
Copy link

u2 commented Jul 22, 2015

But ,this will break our existing app.I just want to use it on specified api.version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants