Class: ComponentsController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/components_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



4
5
6
7
# File 'app/controllers/components_controller.rb', line 4

def show
  @user = User.new # REFACTOR: For the forms example
  render "examples/components/#{params[:component]}"
end