Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
protected apk upload
Browse files Browse the repository at this point in the history
  • Loading branch information
cntoplolicon committed Nov 2, 2015
1 parent 4f3276b commit c2b7aeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
end
end

post '/app_release/android' do
post '/admin/app_release/android' do
@app_release = AppRelease.first_or_initialize
@app_release.message = params[:message]

Expand Down
2 changes: 1 addition & 1 deletion public/js/components/androidRelease.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = React.createClass({
},

submitNewRelease: function() {
var url = '/app_release/android'
var url = '/admin/app_release/android'

var data = new FormData()
var message = this.refs.message.getValue()
Expand Down

0 comments on commit c2b7aeb

Please sign in to comment.