mirror of
https://github.com/chenasraf/snpr.git
synced 2026-05-17 17:38:07 +00:00
Fixed serverscript. Fixed tiny bug in user/show when there was no fitbit-profile
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<div class="row">
|
||||
<div class="span3"><h1>Hello <%= @first_name %>!</h1></div>
|
||||
<div class="row">
|
||||
<%if @user.fitbit_profile != nil%>
|
||||
<br/>
|
||||
<div align="right">
|
||||
<%if @user.fitbit_profile != nil%>
|
||||
<%=link_to(image_tag("/images/fitbit-icon.png"),{:controller => "fitbit_profiles", :action => "show", :id => @user.fitbit_profile.id},:rel =>"tooltip",:title => "See your Fitbit data")%>
|
||||
<%end%>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#/bin/bash
|
||||
|
||||
screen -d -m -S "Server" bundle exec rails s -e production
|
||||
screen -d -m -S "Server" bundle exec rails s
|
||||
screen -d -m -S "Solr" bundle exec rake sunspot:solr:run
|
||||
screen -d -m -S "Redis" redis-server
|
||||
screen -d -m -S "Resque-worker" bundle exec rake environment resque:work QUEUE=*
|
||||
|
||||
Reference in New Issue
Block a user