Sha256: 0c5da64916793df30c1fa9e77175e01f5ce5c97e0d567c27b5f9a1601ee8af65
Contents?: true
Size: 297 Bytes
Versions: 1
Compression:
Stored size: 297 Bytes
Contents
class AttachmentsController < InheritedResources::Base respond_to :html, :js belongs_to :page before_filter :authenticate_user! ajax_loading def index index! do |format| @attachment = @page.attachments.build end end def create create! {collection_url} end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wheels-0.0.30 | app/controllers/attachments_controller.rb |