48 lines
376 B
Ruby
48 lines
376 B
Ruby
|
class BlogsController < ApplicationController
|
||
|
|
||
|
def index
|
||
|
|
||
|
end
|
||
|
|
||
|
def set
|
||
|
|
||
|
end
|
||
|
|
||
|
def set_userinfo
|
||
|
|
||
|
end
|
||
|
|
||
|
def set_blog
|
||
|
|
||
|
end
|
||
|
|
||
|
def update_blog
|
||
|
|
||
|
end
|
||
|
|
||
|
def about
|
||
|
|
||
|
end
|
||
|
|
||
|
def change_password
|
||
|
|
||
|
end
|
||
|
|
||
|
def update_password
|
||
|
|
||
|
end
|
||
|
|
||
|
def upload_img
|
||
|
|
||
|
end
|
||
|
|
||
|
def preview
|
||
|
|
||
|
end
|
||
|
|
||
|
protected
|
||
|
|
||
|
def upload_picture(file)
|
||
|
|
||
|
end
|
||
|
end
|