Module: Harbor::Repository
- Defined in:
- app/controllers/concerns/harbor/repository.rb
Instance Method Summary collapse
- #index ⇒ Object
-
#show ⇒ Object
The show action renders index to allow frontend routing to work on page refresh.
Instance Method Details
#index ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'app/controllers/concerns/harbor/repository.rb', line 5 def index respond_to do |format| format.html format.json do repositories end end end |
#show ⇒ Object
The show action renders index to allow frontend routing to work on page refresh
15 16 17 |
# File 'app/controllers/concerns/harbor/repository.rb', line 15 def show render :index end |