Hotwired wi[

This commit is contained in:
2021-09-22 16:40:20 +02:00
parent a0c72b0caf
commit 9a318249dc
21 changed files with 381 additions and 6 deletions

View 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