Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 152 Bytes
class Authoring
extend Surrounded::Context
initialize :author, :book
trigger :publish_book do
book.author = author
book.save
end
end
You can’t perform that action at this time.