This file contains hidden or 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
#this does kind of work But the call to backend still has companie_ids: ['1', '2'] | |
@model.get('companies').popObject(company) | |
@model.save() | |
This file contains hidden or 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
App.TodosRoute = Ember.Route.extend | |
model: -> | |
@store.findAll('todo') | |
setupController: (controller, model) -> | |
#set timesheet and project. else the fixtures don't get loaded | |
controller.set('todo', model) | |
controller.set('project', @store.findAll('project')) | |
controller.set('timeSheet', @store.findAll('timeSheet')) | |
This file contains hidden or 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
(stupid 140 characters!) | |
Hi mate, | |
Just wanted to touch on your video from Montreal. | |
I didn't quite understand what they were saying, my French has been | |
sloppy for years. Although i can't "judge" on wether the Police was right or not, I | |
heard the police officers many times ask the people to move away. | |
At one point there was an incident and some words where exchanged between the police officer and |
This file contains hidden or 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
source 'http://rubygems.org' | |
gem 'rails', '3.0.0' | |
gem 'rubyzip' | |
gem 'paperclip' | |
gem 'acts_as_list' | |
gem 'acts_as_tree' | |
gem 'ckeditor', '3.4.0.pre' | |
gem 'capistrano' |
This file contains hidden or 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
WebCMS::Application.routes.draw do | |
resources :options | |
resources :fields | |
resources :forms | |
resources :folders |
This file contains hidden or 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
#NameVirtualHost *:80 | |
# no www | |
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] | |
RewriteRule ^(.*)$ http://%1$1 [R=301,L] | |
<VirtualHost *:80> | |
ServerName webCMS | |
ServerAlias webCMS |