Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

/styleguides available in production #32

Closed
etdsoft opened this Issue Dec 3, 2011 · 2 comments

Comments

Projects
None yet
2 participants

etdsoft commented Dec 3, 2011

Hey guys it seems that /styleguides is not restricted when running in production :!: (at least in Rails 3.1)

Steps to reproduce

$ rails new flutieapp && cd fluttieapp
$ vi Gemfile
# add gem 'flutie'
$ bundle install
$ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.css.scss
$ vi app/assets/stylesheets/application.css.scss
# edit to add @import 'flutie'
$ bundle exec rails assets:precompile
$ bundle exec rails s -e production
=> Booting WEBrick
=> Rails 3.1.3 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctr-C to shutdown server

And browse to

http://localhost:3000/styleguides

Owner

mjankowski commented Mar 12, 2012

Sorry about the delay -- is this actually a huge problem?

@mjankowski mjankowski closed this Mar 12, 2012

etdsoft commented Mar 13, 2012

Well, I think it's pretty bad to have it in production sites, doesn't look very professional.

I sent this to @gabebw three months ago and it was ignored. Reposting in case you're interested:


I just reported issue #32 on flutie:

https://github.com/thoughtbot/flutie/issues/32

I did a quick check and these seem to be available:

https://www.apptrajectory.com/styleguides
https://copycopter.com/styleguides

I didn't think that I should post it on the issue tracker but I thought you guys would like to know.

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