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