add comments

This commit is contained in:
dinedine 2010-09-22 10:47:21 +02:00
parent 0f8a1731d3
commit 28ade83ab9
2 changed files with 5 additions and 4 deletions

View File

@ -16,11 +16,12 @@ BOARD:
- html view in the aloha popup
- editable elements should wrap a tag: div, h1, ...etc (default span)
- edit images (upload new ones, ...etc) => wait for aloha or send them an email ?
- customize tinyMCE: no html popup => div popup, nice icons
- add images / files inside long text element (back-office side at first ?)
x customize tinyMCE: no html popup => div popup, nice icons
x add images / files inside long text element (back-office side at first ?)
- global regions: keyword in editable element (http://www.mongodb.org/display/DOCS/Updating)
- create a repo for a tool "a la" vision
- write my first tutorial about locomotive
- asset collections => liquid
- refactor slugify method (use parameterize + create a module)
- [content types] the "display column" selector should not include file types

View File

@ -22,7 +22,7 @@ module Locomotive
end
def locomotive_page
path = (params[:path] || request.fullpath).clone
path = (params[:path] || request.fullpath).clone # TODO: params[:path] is more consistent
path.gsub!(/\.[a-zA-Z][a-zA-Z0-9]{2,}$/, '')
path.gsub!(/^\//, '')
path = 'index' if path.blank?
@ -56,7 +56,7 @@ module Locomotive
'asset_collections' => Locomotive::Liquid::Drops::AssetCollections.new(current_site),
'stylesheets' => Locomotive::Liquid::Drops::Stylesheets.new(current_site),
'javascripts' => Locomotive::Liquid::Drops::Javascripts.new(current_site),
'theme_images' => Locomotive::Liquid::Drops::ThemeImages.new(current_site),
'images' => Locomotive::Liquid::Drops::ThemeImages.new(current_site),
'contents' => Locomotive::Liquid::Drops::Contents.new(current_site),
'current_page' => self.params[:page]
}