21 lines
362 B
Ruby
21 lines
362 B
Ruby
class HelloController < ApplicationController
|
|
before_action only: [:show, :edit, :update, :destroy]
|
|
|
|
def index
|
|
@employers = Employer.all
|
|
@employer = Employer.new
|
|
end
|
|
|
|
# def create
|
|
# @product.increment! :retweets_count
|
|
# redirect_to @tweet
|
|
# end
|
|
|
|
private
|
|
|
|
# def set_tweet
|
|
# # @tweet = Tweet.find(params[:tweet_id])
|
|
# end
|
|
end
|
|
|