mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
19 lines
383 B
Ruby
19 lines
383 B
Ruby
class Admin::TranslationsController < AdminController
|
|
before_action :set_translation, only: :show
|
|
|
|
# GET /translations
|
|
# GET /translations.json
|
|
def index
|
|
@translations = Translation.paginate(page: params[:page])
|
|
end
|
|
|
|
# GET /translations/1
|
|
# GET /translations/1.json
|
|
def show
|
|
end
|
|
|
|
def set_translation
|
|
@translation = Translation.find(params[:id])
|
|
end
|
|
end
|