app/controllers/components_controller.rb in shadcn-ui-0.0.4 vs app/controllers/components_controller.rb in shadcn-ui-0.0.5
- old
+ new
@@ -1,7 +1,8 @@
class ComponentsController < ActionController::Base
layout "component"
def show
+ @user = User.new # REFACTOR: For the forms example
render "examples/components/#{params[:component]}"
end
end