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

config.ru を書き換えなくても、plugin 機構で config.ru を操作したい #277

Closed
hsbt opened this issue Apr 4, 2013 · 3 comments
Assignees
Milestone

Comments

@hsbt
Copy link
Member

hsbt commented Apr 4, 2013

URL をいじるので Web UI から変更は不可能にしても、config.ru のルーティングをせっせと書き換えるのはイマイチなので、rack がよくわからなくても github 認証を追加できるなどの何らかの解決方法を模索したい。

@machu
Copy link
Member

machu commented May 1, 2013

config.ruに書かれている設定を外部ファイルに切り出せばいいんですよね。
RailsでOmniAuthを使うようなイメージでしょうか。
http://inputxoutput.com/rails-omniauth-twitter/

@machu
Copy link
Member

machu commented May 11, 2013

config.ruでURLMapを使うのではなく、TDiary::ApplicationでRack::Builderを使ってルーティングする方向でやる。

@kakutani
Copy link
Member

(期待!!)

This was referenced May 15, 2013
@ghost ghost assigned machu Jun 15, 2013
@machu machu closed this as completed Jun 15, 2013
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

3 participants