Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def filtros
- @apps= App.where(rol: params[:rol]).or(App.where(plataforma:
- params[:plataforma]).or(App.where(area: params[:area])))
- respond_to do |format|
- format.js{ render :json => @apps }
- end
- end
- app/views/apps/filtros.js.erb
- alert( "message" );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement