View gist:278ef6fd3c87a981e651
tslim
edthix
webgrrrl
faizalheesyam
endofline
ian9012
gamesbrewer
namor
adxicible
coderogue
View gist:2643641
def update
current_user.update_attributes(params[:user])
respond_with current_user
end
View gist:2434247
class Dnscell.Routers.Domains extends Backbone.Router
routes: {
'dns_management/domains/': 'index'
'dns_management/domains': 'index'
'hosts/:id': 'hosts'
'dns_management/domains/:id': 'show_zone'
}
collection: null
View gist:2419581
show: (id) ->
entry = new Raffler.Models.Entry({id: id})
entry.fetch(
success: =>
console.log(entry.get('title'))
alert entry.get('name')
console.log(entry)
console.log(entry.attributes + " haha")
viewsangat = new Raffler.Views.Page({model: entry}) # Might one to declare this outside
viewsangat.render()