Class: Share::AppsController

Inherits:
BaseController
  • Object
show all
Defined in:
app/controllers/wechat/share/apps_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
8
9
10
# File 'app/controllers/wechat/share/apps_controller.rb', line 5

def index
  q_params = {}
  q_params.merge! params.permit(:id)

  @apps = App.shared.default_where(q_params).order(id: :asc).page(params[:page])
end

#showObject



12
13
# File 'app/controllers/wechat/share/apps_controller.rb', line 12

def show
end