Make /artists_versions and /artist_commentaries/search visible to all.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
class ArtistCommentariesController < ApplicationController
|
class ArtistCommentariesController < ApplicationController
|
||||||
respond_to :html, :xml, :json, :js
|
respond_to :html, :xml, :json, :js
|
||||||
before_action :member_only, :except => [:index, :show]
|
before_action :member_only, only: [:create_or_update, :revert]
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@commentaries = ArtistCommentary.search(search_params).paginate(params[:page], :limit => params[:limit])
|
@commentaries = ArtistCommentary.search(search_params).paginate(params[:page], :limit => params[:limit])
|
||||||
@@ -11,6 +11,9 @@ class ArtistCommentariesController < ApplicationController
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def search
|
||||||
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
if params[:id]
|
if params[:id]
|
||||||
@commentary = ArtistCommentary.find(params[:id])
|
@commentary = ArtistCommentary.find(params[:id])
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
class ArtistVersionsController < ApplicationController
|
class ArtistVersionsController < ApplicationController
|
||||||
before_action :member_only
|
|
||||||
respond_to :html, :xml, :json
|
respond_to :html, :xml, :json
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
|||||||
Reference in New Issue
Block a user