Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

/styleguides available in production #32

Closed
etdsoft opened this Issue · 2 comments

2 participants

@etdsoft

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

@mjankowski
Owner

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

@mjankowski mjankowski closed this
@etdsoft

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
Something went wrong with that request. Please try again.