Hotwired wi[
This commit is contained in:
20
app/controllers/hello_controller.rb
Normal file
20
app/controllers/hello_controller.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user