Skip to content

Commit

Permalink
[copycopter#27] Use host in install instructions
Browse files Browse the repository at this point in the history
* Determine it programmatically instead of statically.
  • Loading branch information
Dan Croak committed Mar 16, 2012
1 parent a5d2876 commit b543a2a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/projects/_copycopter.rb.erb
@@ -1,4 +1,4 @@
CopycopterClient.configure do |config|
config.api_key = '<%= project.api_key %>'
config.host = 'your-copycopter-server.herokuapp.com'
config.host = '<%= request.host %>'
end
3 changes: 1 addition & 2 deletions public/stylesheets/application.css
Expand Up @@ -1067,8 +1067,7 @@ ul.projects {
ul.projects li {
color: rgba(29, 44, 48, 0.6);
font-size: 14px;
margin: 20px 0;
text-shadow: 0 1px 0 #BBE5F6; }
margin: 20px 0; }

#main-content fieldset.buttons #remove_blurb {
background: url("/images/remove-alt.png") 8px 14px no-repeat;
Expand Down
1 change: 0 additions & 1 deletion public/stylesheets/sass/_projects.scss
Expand Up @@ -44,6 +44,5 @@ ul.projects {
color: rgba(#1d2c30, .6);
font-size: 14px;
margin: 20px 0;
text-shadow: 0 1px 0 #BBE5F6;
}
}

0 comments on commit b543a2a

Please sign in to comment.