Class: Interdasting::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Interdasting::ApplicationController
- Defined in:
- app/controllers/interdasting/application_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 5 6 |
# File 'app/controllers/interdasting/application_controller.rb', line 3 def index @docs = Interdasting.documentation render 'docs/interdasting/index' end |
#show ⇒ Object
8 9 10 11 |
# File 'app/controllers/interdasting/application_controller.rb', line 8 def show @doc = Interdasting.documentation_for_version(params[:version]) render 'docs/interdasting/show' end |