refactor code

parent 31945fac
Pipeline #1426 canceled with stages
in 0 seconds
...@@ -19,7 +19,6 @@ class JobsController < ApplicationController ...@@ -19,7 +19,6 @@ class JobsController < ApplicationController
def show def show
@job = Job.find_by(slug: params[:job_slug]) or not_found @job = Job.find_by(slug: params[:job_slug]) or not_found
favorite_text(@job)
end end
private private
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment