This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
$spaces: "m" "margin", "p" "padding"; | |
$directions: "t" "top", "r" "right", "b" "bottom", "l" "left"; | |
$charges: "" "-"; | |
$defPX: 10; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if params[:back_to_school] %> | |
<h4 class="side-nav__title">Back to School:</h4> | |
<ul class="side-nav"> | |
<% @celebrities.each do |c| %> | |
<li class="row" style="padding-bottom:.5em"> | |
<span class="large-4 column"><%= link_to image_tag(c.avatar.small.url), user_profile_path(c.profile_url) %></span> | |
<span class="large-8 column"><%= link_to c.screenname, project_back_to_school_celebrity_path(c.profile_url), :class => "subheader" %></span> | |
</li> | |
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/assets/stylesheets/products-singular.css.scss b/app/assets/stylesheets/products-singular.css.scss | |
new file mode 100644 | |
index 0000000..e69de29 | |
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb | |
index e3fd632..445478e 100755 | |
--- a/app/helpers/application_helper.rb | |
+++ b/app/helpers/application_helper.rb | |
@@ -127,4 +127,15 @@ module ApplicationHelper | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb | |
index e3fd632..445478e 100755 | |
--- a/app/helpers/application_helper.rb | |
+++ b/app/helpers/application_helper.rb | |
@@ -127,4 +127,15 @@ module ApplicationHelper | |
end | |
+ def controller_assets asset_folder | |
+ if ! Dir.glob("app/assets/#{asset_folder}/#{params[:controller]}-singular.*").empty? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Notyoyoma Ajax Comment | |
* Description: Enable AJAX comments | |
* Version: 1.0.0 | |
* Author: Marty Naselli | |
* Author URI: http://3foldx.com | |
* Text Domain: nyymajaxcomment | |
* License: WTFPL | |
*/ |
NewerOlder