grape-rabl icon indicating copy to clipboard operation
grape-rabl copied to clipboard

Dynamically configure template path

Open dblock opened this issue 11 years ago • 4 comments

I would like to be able to

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

See https://github.com/LTe/grape-rabl/pull/24.

dblock avatar Apr 21 '14 12:04 dblock

Hey! What's the status of this?

florrain avatar Mar 01 '15 06:03 florrain

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

dblock avatar Mar 01 '15 16:03 dblock

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

florrain avatar Mar 01 '15 22:03 florrain

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

u2 avatar Jul 22 '15 03:07 u2