Skip to content

Changes to generated views to use 'relativeUrlRoot'#594

Open
dimircea wants to merge 2 commits into
geddy:masterfrom
dimircea:master
Open

Changes to generated views to use 'relativeUrlRoot'#594
dimircea wants to merge 2 commits into
geddy:masterfrom
dimircea:master

Conversation

@dimircea

@dimircea dimircea commented May 2, 2014

Copy link
Copy Markdown

Add 'relativeUrlRoot' property to configuration file, allowing to set a relative URL when running Geddy apps behind proxies or as sub-folder of a domain/sub-domain.
Next step is to adapt generated routes for scaffolds.

dimircea added 2 commits May 2, 2014 19:10
…t view URLs to use it for being able to run Geddy app under proxies pointing to sub-folders.
@mde

mde commented May 8, 2014

Copy link
Copy Markdown
Contributor

This looks great, but we'll need updates for the other template engines (e.g., Jade, Mustache), before we can merge this to master.

@mde

mde commented May 8, 2014

Copy link
Copy Markdown
Contributor

Cross reference issue #592

@dimircea

dimircea commented May 8, 2014

Copy link
Copy Markdown
Author

Ok. I will take care of these changes. One question: how do I enforce "geddy gen app/scaffold" tool(s) to use a specific template engine so I can test these changes ?

@mde

mde commented May 13, 2014

Copy link
Copy Markdown
Contributor

You can use the -j -H -m and -s options -- it's in the docs for the CLI:

http://geddyjs.org/guide#cli_geddy_gen_[command]_[options]_[arguments]

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

Successfully merging this pull request may close these issues.

2 participants