This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
draper
mirror of
https://github.com/drapergem/draper
Watch
1
Star
0
Fork
You've already forked draper
0
Code
Releases
Activity
cb9af6c9dc
draper
/
spec
/
dummy
/
app
/
jobs
/
publish_post_job.rb
8 lines
105 B
Ruby
Raw
Blame
History
class
PublishPostJob
<
ActiveJob
::
Base
queue_as
:default
def
perform
(
post
)
post
.
save!
end
end
View Git Blame
Copy Permalink