class Locmare.FilerModule.BodyModule.FileBodyModule.FileItemModule.CaptionItemColumnModule.DefaultModule.LinkModule.ActionLink extends Locmare.FilerModule.BodyModule.FileBodyModule.FileItemModule.CaptionItemColumnModule.DefaultModule.LinkModule.BaseLink initialize: (options) -> super(options) render: () -> this.$el.attr('href', @url()) # embed face everytime this.$el.html(@default_caption.face.render().el) this url: () -> controller = Manifest.manifest().controllers[@item.table_name()] action = controller.actions[@my_manifest.action_name] mani = action.original || action params = { controller: controller, action: action, id: @item.get('id'), format: 'html' } '/' + mani.url(params)