AI-comp / wpcs

2 stars 2 forks source link

177 disable button #217

Closed exKAZUu closed 11 years ago

exKAZUu commented 11 years ago

177

Disable admin button when running on production environment.

coveralls commented 11 years ago

Coverage Status

Coverage decreased (-0%) when pulling 86aae801dd771789839fbfc1fe37903c69a6570c on 177_disable_button into 92931f4f0728465d9423219cc30241610342787f on master.

coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling 637db9b01c9988ab2f17f43b5aff75f085e74abf on 177_disable_button into 4b310bcc6c8494678e0dd71eb4b77455b8f3be50 on master.

exKAZUu commented 11 years ago

You can test it with the following commands.

rake db:drop db:setup assets:clean assets:precompile RAILS_ENV=production
rails s -e production