Twitter: @RyanonRails Email: Ryan@System88.com
class MassCall.Recording extends Batman.Model @resourceName: 'recording' @persist Batman.RailsStorage @encode 'url', 'label' @validate 'url', presence: yes @belongsTo 'user'
class MassCall.RecordingsController extends Batman.Controller routingKey: 'recordings' index: (params) -> MassCall.Recording.load (err,results) => @set 'recordings', new Batman.Set(results...) show: (params) -> new: (params) -> create: (params) -> update: (params) -> destroy: (params) ->
recordings/index.html
recordings/_recording.html
this is a valid recording
window.MassCall = class MassCall extends Batman.App Batman.ViewStore.prefix = 'assets/views' @root 'app#index' @resources 'recordings'
Mass Call App! View all recordings: view all recordings show a recording
/