- Tagline - Sharing knowledge with people you trust (Or… Voice of the Middle Market CFO) The CFO Alliance is an exclusive community for finance leaders and decision makers.
- Join Now button
- Sign In
- Join
<!DOCTYPE html> | |
<%= render '/refinery/html_tag' %> | |
<%= render '/refinery/head' %> | |
<body> | |
<%= render '/refinery/ie6check' if request.env['HTTP_USER_AGENT'] =~ /MSIE/ -%> | |
<div id="page_container"> | |
<header id="header"> | |
<%= render '/refinery/header' -%> | |
</header> |
<div class="row"> | |
<div class="span8"> | |
<%= raw @page.content_for(:intro) %> | |
</div> | |
<div class="span4"> | |
<%= raw @page.content_for(:quote) %> | |
</div> | |
</div> |
// This is a manifest file that'll be compiled into application.js, which will include all the files | |
// listed below. | |
// | |
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, | |
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. | |
// | |
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the | |
// the compiled file. | |
// | |
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD |
/*-----------------------------------------------------------------------------------*/ | |
/* Load responsive IE scripts */ | |
/*-----------------------------------------------------------------------------------*/ | |
add_action( 'wp_footer', 'woo_load_responsive_IE_footer', 10 ); | |
if ( ! function_exists( 'woo_load_responsive_IE_footer' ) ) { | |
function woo_load_responsive_IE_footer () { | |
$html = ''; | |
cd /tmp | |
refinerycms bar | |
cd bar | |
git init . | |
git add . | |
git commit -a -m "Hide these files" | |
rake refinery:override view=**/* | |
rake refinery:override controller=**/* | |
rake refinery:override model=**/* | |
git add -N . |
[AchieveNext] (master) $ heroku logs | |
2012-03-01T18:42:17+00:00 heroku[router]: GET www.achievenext.com/assets/bg_texture-bc963f74085f7a5b271aebb2107869d9.png dyno=web.1 queue=0 wait=0ms service=7ms status=200 bytes=39593 | |
2012-03-01T18:42:17+00:00 app[web.1]: cache: [GET /assets/an_logo-efbb6561627407d37d5a7da2e44481e3.png] miss | |
2012-03-01T18:42:17+00:00 heroku[nginx]: 24.150.183.184 - - [01/Mar/2012:18:42:17 +0000] "GET /assets/bg_texture-bc963f74085f7a5b271aebb2107869d9.png HTTP/1.1" 200 39593 "http://www.achievenext.com/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.45 Safari/535.19" www.achievenext.com | |
2012-03-01T18:42:17+00:00 heroku[router]: GET www.achievenext.com/assets/an_logo-efbb6561627407d37d5a7da2e44481e3.png dyno=web.1 queue=0 wait=0ms service=11ms status=200 bytes=30740 | |
2012-03-01T18:42:17+00:00 heroku[nginx]: 24.150.183.184 - - [01/Mar/2012:18:42:17 +0000] "GET /assets/an_logo-efbb6561627407d37d5a7da2e44481e3.png HTTP/1.1" 200 30740 "http://www.achievene |
unless RAILS_ENV == "development" | |
before_filter :add_www_subdomain | |
end | |
private | |
def add_www_subdomain | |
unless /^www/.match(request.host) | |
redirect_to("#{request.protocol}www.achievenext.com#{request.request_uri}", | |
:status => 301) |
[supply_side] (master) $ rake routes | |
logout GET /logout(.:format) sessions#destroy | |
login GET /login(.:format) sessions#new | |
signup GET /signup(.:format) users#new | |
activate_user GET /users/:id/activate(.:format) users#activate | |
users GET /users(.:format) users#index | |
POST /users(.:format) users#create | |
new_user GET /users/new(.:format) users#new | |
edit_user GET /users/:id/edit(.:format) users#edit | |
user GET /users/:id(.:format) users#show |
it "successfully links to the login page" do | |
visit root_path | |
click_link "Log In" | |
save_and_open_page | |
end |