Skip to content

Dynamically configure template path #25

Closed

Description

@dblock

I would like to be able to

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

See #24.

Activity

  1. florrain commented on Mar 1, 2015

    @florrain

    Hey! What's the status of this?

  2. dblock commented on Mar 1, 2015

    @dblock
    MemberAuthor

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

  3. florrain commented on Mar 1, 2015

    @florrain

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

  4. u2 commented on Jul 22, 2015

    @u2

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

  5. dblock commented on Oct 27, 2026

    @dblock
    MemberAuthor

    Implemented in #58.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions